pub struct Object {
pub data: *const c_void,
pub meta: usize,
}
Expand description
real FFI wrapper
Fields§
§data: *const c_void
§meta: usize
Implementations§
Trait Implementations§
Source§impl From<Option<Arc<dyn Any + Send + Sync>>> for Object
impl From<Option<Arc<dyn Any + Send + Sync>>> for Object
Source§fn from(x: RealOptObj) -> Object
fn from(x: RealOptObj) -> Object
Converts to this type from the input type.
Source§impl Into<Option<Arc<dyn Any + Send + Sync>>> for Object
impl Into<Option<Arc<dyn Any + Send + Sync>>> for Object
Source§fn into(self) -> RealOptObj
fn into(self) -> RealOptObj
Converts this type into the (usually inferred) input type.
impl Copy for Object
impl Eq for Object
impl StructuralPartialEq for Object
Auto Trait Implementations§
impl Freeze for Object
impl RefUnwindSafe for Object
impl !Send for Object
impl !Sync for Object
impl Unpin for Object
impl UnwindSafe for Object
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