Struct yrs::types::map::PrelimMap[][src]

pub struct PrelimMap<T>(_);
Expand description

A preliminary map. It can be used to early initialize the contents of a Map, when it’s about to be inserted into another Yrs collection, such as Array or another Map.

Trait Implementations

Performs the conversion.

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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.