pub struct BlockRefVTable<T> { /* private fields */ }Expand description
Wraps a specific memory provider’s BlockRefDynamic or BlockRefDynamicWithMeta
implementation into a form required to construct a BlockRef.
Implementations§
Source§impl<T: BlockRefDynamicWithMeta> BlockRefVTable<T>
impl<T: BlockRefDynamicWithMeta> BlockRefVTable<T>
pub const fn from_trait_with_meta() -> Self
Source§impl<T: BlockRefDynamic> BlockRefVTable<T>
impl<T: BlockRefDynamic> BlockRefVTable<T>
pub const fn from_trait() -> Self
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for BlockRefVTable<T>
impl<T> RefUnwindSafe for BlockRefVTable<T>where
T: RefUnwindSafe,
impl<T> Send for BlockRefVTable<T>where
T: Send,
impl<T> Sync for BlockRefVTable<T>where
T: Sync,
impl<T> Unpin for BlockRefVTable<T>where
T: Unpin,
impl<T> UnwindSafe for BlockRefVTable<T>where
T: UnwindSafe,
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