pub struct MapPrelim<T>(/* private fields */);
Expand description
Implementations§
Trait Implementations§
source§impl<T: Prelim> Into<EmbedPrelim<MapPrelim<T>>> for MapPrelim<T>
impl<T: Prelim> Into<EmbedPrelim<MapPrelim<T>>> for MapPrelim<T>
source§fn into(self) -> EmbedPrelim<MapPrelim<T>>
fn into(self) -> EmbedPrelim<MapPrelim<T>>
Converts this type into the (usually inferred) input type.
source§impl<T: Prelim> Prelim for MapPrelim<T>
impl<T: Prelim> Prelim for MapPrelim<T>
source§fn into_content(
self,
_txn: &mut TransactionMut<'_>
) -> (ItemContent, Option<Self>)
fn into_content( self, _txn: &mut TransactionMut<'_> ) -> (ItemContent, Option<Self>)
This method is used to create initial content required in order to create a block item.
A supplied
ptr
can be used to identify block that is about to be created to store
the returned content. Read moresource§fn integrate(self, txn: &mut TransactionMut<'_>, inner_ref: BranchPtr)
fn integrate(self, txn: &mut TransactionMut<'_>, inner_ref: BranchPtr)
Method called once an original item filled with content from Self::into_content has been
added to block store. This method is used by complex types such as maps or arrays to append
the original contents of prelim struct into YMap, YArray etc.
Auto Trait Implementations§
impl<T> Freeze for MapPrelim<T>
impl<T> RefUnwindSafe for MapPrelim<T>where
T: RefUnwindSafe,
impl<T> Send for MapPrelim<T>where
T: Send,
impl<T> Sync for MapPrelim<T>where
T: Sync,
impl<T> Unpin for MapPrelim<T>where
T: Unpin,
impl<T> UnwindSafe for MapPrelim<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