Module yrs::types::xml

source ·

Structs§

  • Iterator over the attributes (key-value pairs represented as a strings) of an [XmlElement].
  • An iterator over [XmlElement] successors, working in a recursive depth-first manner.
  • A preliminary type that will be materialized into an XmlElementRef once it will be integrated into Yrs document.
  • XML element data type. It represents an XML node, which can contain key-value attributes (interpreted as strings) as well as other nested XML elements or rich text (represented by XmlTextRef type).
  • Event generated by [XmlElement::observe] method. Emitted during transaction commit phase.
  • A preliminary type that will be materialized into an XmlFragmentRef once it will be integrated into Yrs document.
  • A XML fragment, which works as an untagged collection of XML nodes.
  • (Obsolete) an Yjs-compatible XML node used for nesting Map elements.
  • Event generated by [XmlText::observe] method. Emitted during transaction commit phase.
  • A preliminary type that will be materialized into an XmlTextRef once it will be integrated into Yrs document.
  • A shared data type used for collaborative text editing, that can be used in a context of XmlElementRef node. It enables multiple users to add and remove chunks of text in efficient manner. This type is internally represented as a mutable double-linked list of text chunks

Enums§

Traits§