pub type TreeRefView<'a> = View<'a, Node>;
Expand description
A view of a tree.
Aliased Type§
struct TreeRefView<'a> { /* private fields */ }
Trait Implementations§
Source§impl TreeRef for TreeRefView<'_>
impl TreeRef for TreeRefView<'_>
Source§fn shadow_tree(&self, id: NodeId) -> Option<&ShadowTree>
fn shadow_tree(&self, id: NodeId) -> Option<&ShadowTree>
The shadow tree tree under the node.
Source§fn slot_for_light_tree(&self, id: NodeId) -> Option<NodeId>
fn slot_for_light_tree(&self, id: NodeId) -> Option<NodeId>
The node that contains the shadow tree this node is a slot for
Source§fn root_for_light_tree(&self, id: NodeId) -> Option<NodeId>
fn root_for_light_tree(&self, id: NodeId) -> Option<NodeId>
The node that contains the shadow tree this node is a root of