Type Definition yrs::Branch

source · []
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.