Module maomi::node [−][src]
Structs
Contains some component manipulation methods.
Every component instance has a ComponentContext
for it.
A component node which contains a shadow tree
A NodeRc
with node type, representing a ref-counted node.
A NodeRef
with node type, representing a borrowed ref of a ref-counted node.
No other node can be mutably borrowed until this object is dropped.
A NodeRefMut
with node type, representing a mutably borrowed ref of a ref-counted node.
No other node can be borrowed until this object is dropped.
A NodeWeak
with node type, representing a weak ref of a ref-counted node.
A typed component NodeRc
A NodeRef
with node type, representing a borrowed ref of a ref-counted node.
No other node can be mutably borrowed until this object is dropped.
A mutably borrowed ref of a ref-counted node. No other node can be borrowed until this object is dropped.
A typed component NodeWeak
The default empty component
A native node which has a single corresponding backend node
A NodeRc
with node type, representing a ref-counted node.
A NodeRef
with node type, representing a borrowed ref of a ref-counted node.
No other node can be mutably borrowed until this object is dropped.
A NodeRefMut
with node type, representing a mutably borrowed ref of a ref-counted node.
No other node can be borrowed until this object is dropped.
A NodeWeak
with node type, representing a weak ref of a ref-counted node.
A text node
A NodeRc
with node type, representing a ref-counted node.
A NodeRef
with node type, representing a borrowed ref of a ref-counted node.
No other node can be mutably borrowed until this object is dropped.
A NodeRefMut
with node type, representing a mutably borrowed ref of a ref-counted node.
No other node can be borrowed until this object is dropped.
A NodeWeak
with node type, representing a weak ref of a ref-counted node.
A virtual node which has no corresponding backend node
A NodeRc
with node type, representing a ref-counted node.
A NodeRef
with node type, representing a borrowed ref of a ref-counted node.
No other node can be mutably borrowed until this object is dropped.
A NodeRefMut
with node type, representing a mutably borrowed ref of a ref-counted node.
No other node can be borrowed until this object is dropped.
A NodeWeak
with node type, representing a weak ref of a ref-counted node.
Enums
A reference to a node
A mutable reference to a node
A ref-counted node
A borrowed ref of a ref-counted node. No other node can be mutably borrowed until this object is dropped.
A mutably borrowed ref of a ref-counted node. No other node can be borrowed until this object is dropped.
A weak ref of a ref-counted node
The item order while iteration (parent to child or child to parent)
The range of traversal (in shadow tree or composed tree)
Traits
A component should implement this trait.
The new
method is called whenever an instance is creating, with a ComponentContext
for manipulation.
A component which supports prerendering (server side rendering).