Module xrust::item[][src]

Expand description

xrust::item

Sequence Item module. An Item is a Node, Function or Atomic Value.

Nodes are implemented directly in the Item enum. It is planned to implement Nodes as Traits.

Structs

NegativeInteger
NodeDefn
NonNegativeInteger
NonPositiveInteger
NormalizedString
PositiveInteger

Enums

Item

An Item in a Sequence. Can be a Node, Function or Value.

NodeType
Operator
Value

An atomic value. These are the 19 predefined types in XSD Schema Part 2, plus five additional types.

Traits

SequenceTrait

Type Definitions

Sequence

In XPath, the Sequence is the fundamental data structure. It is an ordered collection of Items. The Rust impementation is a Vector of reference counted Items.