Struct intuicio_data::data_heap::ManagedDataHeapBox
source · pub struct ManagedDataHeapBox<T> { /* private fields */ }Implementations§
source§impl<T> ManagedDataHeapBox<T>
impl<T> ManagedDataHeapBox<T>
pub fn lifetime(&self) -> &Lifetime
pub fn borrow(&self) -> Option<ManagedRef<T>>
pub fn borrow_mut(&self) -> Option<ManagedRefMut<T>>
pub fn lazy(&mut self) -> ManagedLazy<T>
pub fn into_box(self) -> DataHeapBox<T>
Methods from Deref<Target = DataHeapBox<T>>§
pub fn id(&self) -> DataHeapObjectID
pub fn exists(&self) -> bool
pub fn read(&self) -> Option<&T>
pub fn write(&mut self) -> Option<&mut T>
Trait Implementations§
source§impl<T> Deref for ManagedDataHeapBox<T>
impl<T> Deref for ManagedDataHeapBox<T>
source§impl<T> DerefMut for ManagedDataHeapBox<T>
impl<T> DerefMut for ManagedDataHeapBox<T>
source§impl<T> From<DataHeapBox<T>> for ManagedDataHeapBox<T>
impl<T> From<DataHeapBox<T>> for ManagedDataHeapBox<T>
source§fn from(value: DataHeapBox<T>) -> Self
fn from(value: DataHeapBox<T>) -> Self
Converts to this type from the input type.
source§impl<T> From<ManagedDataHeapBox<T>> for DataHeapBox<T>
impl<T> From<ManagedDataHeapBox<T>> for DataHeapBox<T>
source§fn from(value: ManagedDataHeapBox<T>) -> Self
fn from(value: ManagedDataHeapBox<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> RefUnwindSafe for ManagedDataHeapBox<T>where
T: RefUnwindSafe,
impl<T> !Send for ManagedDataHeapBox<T>
impl<T> !Sync for ManagedDataHeapBox<T>
impl<T> Unpin for ManagedDataHeapBox<T>
impl<T> UnwindSafe for ManagedDataHeapBox<T>where
T: RefUnwindSafe,
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