pub struct CapeObjectData {
interface: ICapeInterface,
last_error: Option<COBIAError>,
last_error_scope: Option<String>,
ref_count: i32,
interface_map: HashMap<CapeUUID, *mut ICapeInterface>,
}Expand description
Internal data for CAPE-OPEN object implementations.
This structure holds the internal data for CAPE-OPEN object implementations, such as the interface pointer, last error information, reference count and the interface map.
This structure is not typically directly referenced, but rather a reference to it is
generated by the cape_object_implementation macro.
Fields§
§interface: ICapeInterfaceUnique pointer to the ICapeInterface implementation.
last_error: Option<COBIAError>Last error that occurred in the object.
last_error_scope: Option<String>Scope of the last error
ref_count: i32Reference count for the object.
interface_map: HashMap<CapeUUID, *mut ICapeInterface>Interface map
Auto Trait Implementations§
impl Freeze for CapeObjectData
impl RefUnwindSafe for CapeObjectData
impl !Send for CapeObjectData
impl !Sync for CapeObjectData
impl Unpin for CapeObjectData
impl UnwindSafe for CapeObjectData
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