pub struct HeapValue<'a> { /* private fields */ }Expand description
A type-erased value stored on the heap
Implementations§
Source§impl<'a> HeapValue<'a>
impl<'a> HeapValue<'a>
Sourcepub fn materialize<T: Facet + 'a>(self) -> Result<T, ReflectError>
pub fn materialize<T: Facet + 'a>(self) -> Result<T, ReflectError>
Turn this heapvalue into a concrete type
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for HeapValue<'a>
impl<'a> RefUnwindSafe for HeapValue<'a>
impl<'a> !Send for HeapValue<'a>
impl<'a> !Sync for HeapValue<'a>
impl<'a> Unpin for HeapValue<'a>
impl<'a> UnwindSafe for HeapValue<'a>
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