pub trait NodeImmutableDioxusExt<V: FromAnyValue + Send + Sync>: NodeImmutable<V> {
    // Provided method
    fn mounted_id(&self) -> Option<ElementId> { ... }
}
Expand description

A trait that extends the NodeImmutable trait with methods that are useful for dioxus.

Provided Methods§

source

fn mounted_id(&self) -> Option<ElementId>

Returns the id of the element that this node is mounted to. Not all nodes are mounted to an element, only nodes with dynamic content that have been renderered will have an id.

Object Safety§

This trait is not object safe.

Implementors§