Type Alias dioxus_native_core::tree::TreeRefView
source · 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<'a> TreeRef for TreeRefView<'a>
impl<'a> TreeRef for TreeRefView<'a>
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