Type Alias freya_core::dom::doms::DioxusNode

source ·
pub type DioxusNode<'a> = NodeRef<'a, CustomAttributeValues>;

Aliased Type§

struct DioxusNode<'a> { /* private fields */ }

Trait Implementations§

source§

impl NodeAccessibility for DioxusNode<'_>

source§

fn get_inner_texts(&self) -> Option<String>

Return the first text node from this Node

source§

fn get_accessibility_children(&self) -> Vec<AccessibilityId>

Collect all descendant accessibility node ids

source§

fn get_accessibility_id(&self) -> Option<AccessibilityId>

§

impl<'a, V> Clone for NodeRef<'a, V>
where V: FromAnyValue + Send + Sync,

§

fn clone(&self) -> NodeRef<'a, V>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<'a, V> NodeImmutable<V> for NodeRef<'a, V>
where V: FromAnyValue + Send + Sync,

§

fn real_dom(&self) -> &RealDom<V>

Get the real dom this node was created in
§

fn id(&self) -> EntityId

Get the id of the current node
§

fn node_type(&self) -> ViewEntry<'_, NodeType<V>>

Get the type of the current node
§

fn get<'a, T>(&'a self) -> Option<ViewEntry<'a, T>>
where T: Component + Sync + Send,

Get a component from the current node
§

fn children_ids_advanced( &self, id: EntityId, enter_shadow_dom: bool, ) -> Vec<EntityId>

Get the ids of the children of the current node, if enter_shadow_dom is true and the current node is a shadow slot, the ids of the nodes under the node the shadow slot is attached to will be returned
§

fn child_ids(&self) -> Vec<EntityId>

Get the ids of the children of the current node
§

fn children(&self) -> Vec<NodeRef<'_, V>>

Get the children of the current node
§

fn parent_id(&self) -> Option<EntityId>

Get the id of the parent of the current node
§

fn parent(&self) -> Option<NodeRef<'_, V>>

Get the parent of the current node
§

fn height(&self) -> u16

Get the height of the current node in the tree (the number of nodes between the current node and the root)
§

impl<'a, V> Copy for NodeRef<'a, V>
where V: FromAnyValue + Send + Sync,