pub type Branch = Branch;Expand description
A common shared data type. All Yrs instances can be refered to using this data type (use
ytype_kind function if a specific type needs to be determined). Branch pointers are passed
over type-specific functions like ytext_insert, yarray_insert or ymap_insert to perform
a specific shared type operations.
Using write methods of different shared types (eg. ytext_insert and yarray_insert) over
the same branch may result in undefined behavior.
Aliased Type§
pub struct Branch {
pub block_len: u32,
pub content_len: u32,
/* private fields */
}Fields§
§block_len: u32A length of an indexed sequence component of a current branch node. Map component elements are computed on demand.
content_len: u32