pub struct VmObject { /* private fields */ }Expand description
The base vm object that holds a range of bytes of data
Can be created without mapping and used as a container of data, or mappable into an address space via VmAddressRegion::CreateVmMapping
Trait Implementations§
Source§impl HasRefCount for VmObject
impl HasRefCount for VmObject
Source§fn ref_count(&self) -> &RefCounted
fn ref_count(&self) -> &RefCounted
Returns a reference to the contained
RefCounted field.Source§impl Recyclable for VmObject
impl Recyclable for VmObject
Auto Trait Implementations§
impl Freeze for VmObject
impl RefUnwindSafe for VmObject
impl Send for VmObject
impl Sync for VmObject
impl !Unpin for VmObject
impl UnsafeUnpin for VmObject
impl UnwindSafe for VmObject
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Init<T> for T
impl<T> Init<T> for T
§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§impl<T> PinInit<T> for T
impl<T> PinInit<T> for T
§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot. Read more