pub fn try_mounted_id(&self) -> Option<ElementId> {
        match &self {
            VNode::Text(el) => el.id.get(),
            VNode::Element(el) => el.id.get(),
            VNode::Placeholder(el) => el.id.get(),
            VNode::Fragment(_) => None,
            VNode::Component(_) => None,
        }
    }
/// Try to get the ElementID of the mounted VNode.
///
/// Returns None if the VNode is not mounted, or if the VNode cannot be presented by a mounted ID (Fragment/Component)
Try to get the ElementID of the mounted VNode.
Returns None if the VNode is not mounted, or if the VNode cannot be presented by a mounted ID (Fragment/Component)
Try to get the ElementID of the mounted VNode . Returns None if the VNode is not mounted or if the VNode cannot be presented by a mounted ID ( Fragment / Component )
pub fn try_mounted_id(&self) -> Option<ElementId> {
        match &self {
            VNode::Text(el) => el.id.get(),
            VNode::Element(el) => el.id.get(),
            VNode::Placeholder(el) => el.id.get(),
            VNode::Fragment(_) => None,
            VNode::Component(_) => None,
        }
    }
pub fn try_mounted_id ( & self ) -> Option < ElementId > { match & self { VNode :: Text ( el ) => el . id . get ( ) , VNode :: Element ( el ) => el . id . get ( ) , VNode :: Placeholder ( el ) => el . id . get ( ) , VNode :: Fragment ( _ ) => None , VNode :: Component ( _ ) => None , } }
Try to get the ElementID of the mounted VNode.
Try to get the ElementID of the mounted VNode .
&self
&self