Struct yrs::types::map::PrelimMap [−][src]
pub struct PrelimMap<T>(_);
Expand description
Trait Implementations
fn into_content(
self,
_txn: &mut Transaction<'_>,
ptr: TypePtr
) -> (ItemContent, Option<Self>)
fn into_content(
self,
_txn: &mut Transaction<'_>,
ptr: TypePtr
) -> (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
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