pub struct PrelimMap<T>(_);Expand description
Implementations
Trait Implementations
sourceimpl<T: Prelim> Prelim for PrelimMap<T>
impl<T: Prelim> Prelim for PrelimMap<T>
sourcefn into_content(self, _txn: &mut Transaction) -> (ItemContent, Option<Self>)
fn into_content(self, _txn: &mut Transaction) -> (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 more
sourcefn integrate(self, txn: &mut Transaction, inner_ref: BranchPtr)
fn integrate(self, txn: &mut Transaction, 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. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for PrelimMap<T> where
T: RefUnwindSafe,
impl<T> Send for PrelimMap<T> where
T: Send,
impl<T> Sync for PrelimMap<T> where
T: Sync,
impl<T> Unpin for PrelimMap<T> where
T: Unpin,
impl<T> UnwindSafe for PrelimMap<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more