[−][src]Struct memory_manager::object::Object
An object, with a lifetime attached.
Fields
descriptor: &'a mut &'a ObjectDescriptorThe pointer to ObjectDescriptor.
unpacked: &'a mut [usize]The unpacked fields.
pointers: &'a mut [&'a Object<'a>]The boxed fields (i.e. pointers).
Implementations
impl<'a> Object<'a>[src]
pub fn total_size(&self) -> usize[src]
The total size for this object.
See also ObjectDescriptor::total_size.
pub fn start_address(&mut self) -> Address<'a>[src]
The starting address of this object, i.e. where the pointer to
ObjectDescriptor is stored.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,