Struct yrs::types::array::PrelimArray[][src]

pub struct PrelimArray<T, V>(_)
where
    T: IntoIterator<Item = V>
;
Expand description

A preliminary array. It’s can be used to initialize an YArray, when it’s about to be nested into another Yrs data collection, such as [Map] or another YArray.

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.

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.