pub struct CapeArrayRealParameter {
pub(crate) interface: *mut CAPEOPEN_1_2_ICapeArrayRealParameter,
}Fields§
§interface: *mut CAPEOPEN_1_2_ICapeArrayRealParameterImplementations§
Source§impl CapeArrayRealParameter
impl CapeArrayRealParameter
pub fn get_value<TypeOfValue: CapeArrayRealProviderOut>( &self, value: &mut TypeOfValue, ) -> Result<(), COBIAError>
pub fn set_value<TypeOfValue: CapeArrayRealProviderIn>( &self, value: &TypeOfValue, ) -> Result<(), COBIAError>
pub fn get_element_value<TypeOfPosition: CapeArrayIntegerProviderIn>( &self, position: &TypeOfPosition, ) -> Result<CapeReal, COBIAError>
pub fn set_element_value<TypeOfPosition: CapeArrayIntegerProviderIn>( &self, position: &TypeOfPosition, value: CapeReal, ) -> Result<(), COBIAError>
pub fn get_default_value(&self) -> Result<CapeReal, COBIAError>
pub fn get_lower_bound(&self) -> Result<CapeReal, COBIAError>
pub fn get_upper_bound(&self) -> Result<CapeReal, COBIAError>
pub fn get_dimensionality<TypeOfDimensionality: CapeArrayRealProviderOut>( &self, dimensionality: &mut TypeOfDimensionality, ) -> Result<(), COBIAError>
pub fn validate_element<TypeOfPosition: CapeArrayIntegerProviderIn, TypeOfMessage: CapeStringProviderOut>( &self, position: &TypeOfPosition, value: CapeReal, message: &mut TypeOfMessage, ) -> Result<CapeBoolean, COBIAError>
pub fn validate<TypeOfValue: CapeArrayRealProviderIn, TypeOfMessage: CapeStringProviderOut>( &self, value: &TypeOfValue, message: &mut TypeOfMessage, ) -> Result<CapeBoolean, COBIAError>
Trait Implementations§
Source§impl CapeSmartPointer for CapeArrayRealParameter
impl CapeSmartPointer for CapeArrayRealParameter
type Interface = _CAPEOPEN_1_2_ICapeArrayRealParameter
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
Source§impl Clone for CapeArrayRealParameter
impl Clone for CapeArrayRealParameter
Auto Trait Implementations§
impl Freeze for CapeArrayRealParameter
impl RefUnwindSafe for CapeArrayRealParameter
impl !Send for CapeArrayRealParameter
impl !Sync for CapeArrayRealParameter
impl Unpin for CapeArrayRealParameter
impl UnwindSafe for CapeArrayRealParameter
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