pub struct CapeArrayStringParameterSpecification {
pub(crate) interface: *mut CAPEOPEN_1_2_ICapeArrayStringParameterSpecification,
}Fields§
§interface: *mut CAPEOPEN_1_2_ICapeArrayStringParameterSpecificationImplementations§
Source§impl CapeArrayStringParameterSpecification
impl CapeArrayStringParameterSpecification
pub fn get_default_value<TypeOfDefaultValue: CapeStringProviderOut>( &self, default_value: &mut TypeOfDefaultValue, ) -> Result<(), COBIAError>
pub fn get_option_list<TypeOfOptionNames: CapeArrayStringProviderOut>( &self, option_names: &mut TypeOfOptionNames, ) -> Result<(), COBIAError>
pub fn get_restricted_to_list(&self) -> Result<CapeBoolean, COBIAError>
pub fn validate_element<TypeOfPosition: CapeArrayIntegerProviderIn, TypeOfValue: CapeStringProviderIn, TypeOfMessage: CapeStringProviderOut>( &self, position: &TypeOfPosition, value: &TypeOfValue, message: &mut TypeOfMessage, ) -> Result<CapeBoolean, COBIAError>
pub fn validate<TypeOfValue: CapeArrayStringProviderIn, TypeOfMessage: CapeStringProviderOut>( &self, value: &TypeOfValue, message: &mut TypeOfMessage, ) -> Result<CapeBoolean, COBIAError>
Trait Implementations§
Source§impl CapeSmartPointer for CapeArrayStringParameterSpecification
impl CapeSmartPointer for CapeArrayStringParameterSpecification
type Interface = _CAPEOPEN_1_2_ICapeArrayStringParameterSpecification
Source§fn as_cape_interface_pointer(&self) -> *mut ICapeInterface
fn as_cape_interface_pointer(&self) -> *mut ICapeInterface
Get the ICapeInterface Read more
Source§fn get_interface_id() -> &'static CapeUUID
fn get_interface_id() -> &'static CapeUUID
Get the interface ID Read more
Source§fn from_object<T: CapeSmartPointer>(
smart_pointer: &T,
) -> Result<Self, COBIAError>
fn from_object<T: CapeSmartPointer>( smart_pointer: &T, ) -> Result<Self, COBIAError>
Get an interface wrapper instance from another object Read more
Source§fn from_interface_pointer(interface: *mut Self::Interface) -> Self
fn from_interface_pointer(interface: *mut Self::Interface) -> Self
Get an interface wrapper instance from an interface pointer of the wrapped type Read more
Source§fn attach(interface: *mut Self::Interface) -> Self
fn attach(interface: *mut Self::Interface) -> Self
Get an interface wrapper instance from an interface pointer of the wrapped type, without adding a reference Read more
Source§fn detach(self) -> *mut Self::Interface
fn detach(self) -> *mut Self::Interface
Return an interface pointer and release ownership, without decreasing a reference Read more
Source§fn from_cape_interface_pointer(
interface: *mut ICapeInterface,
) -> Result<Self, COBIAError>
fn from_cape_interface_pointer( interface: *mut ICapeInterface, ) -> Result<Self, COBIAError>
Get an interface wrapper instance from any interface pointer Read more
Auto Trait Implementations§
impl Freeze for CapeArrayStringParameterSpecification
impl RefUnwindSafe for CapeArrayStringParameterSpecification
impl !Send for CapeArrayStringParameterSpecification
impl !Sync for CapeArrayStringParameterSpecification
impl Unpin for CapeArrayStringParameterSpecification
impl UnwindSafe for CapeArrayStringParameterSpecification
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more