Struct rdom::node::concrete::ConcreteNodeArc[][src]

pub struct ConcreteNodeArc<S: AnyNodeStorage> { /* fields omitted */ }

A strongly-typed handle to a node with a strong reference. S may be the underlying storage type of any node.

Implementations

impl ConcreteNodeArc<DocumentNodeStorage>[src]

pub fn create_text_node(&self, text: String) -> TextNodeArc[src]

Creates a new text node with the given text contents

Trait Implementations

impl Buildable for ConcreteNodeArc<ElementNodeStorage>[src]

type Storage = ElementNodeStorage

Underlying storage struct for the node type.

impl Buildable for ConcreteNodeArc<AttributeNodeStorage>[src]

type Storage = AttributeNodeStorage

Underlying storage struct for the node type.

impl Buildable for ConcreteNodeArc<TextNodeStorage>[src]

type Storage = TextNodeStorage

Underlying storage struct for the node type.

impl Buildable for ConcreteNodeArc<CDataSectionNodeStorage>[src]

type Storage = CDataSectionNodeStorage

Underlying storage struct for the node type.

impl Buildable for ConcreteNodeArc<ProcessingInstructionNodeStorage>[src]

type Storage = ProcessingInstructionNodeStorage

Underlying storage struct for the node type.

impl Buildable for ConcreteNodeArc<CommentNodeStorage>[src]

type Storage = CommentNodeStorage

Underlying storage struct for the node type.

impl Buildable for ConcreteNodeArc<DocumentNodeStorage>[src]

type Storage = DocumentNodeStorage

Underlying storage struct for the node type.

impl Buildable for ConcreteNodeArc<DocumentTypeNodeStorage>[src]

type Storage = DocumentTypeNodeStorage

Underlying storage struct for the node type.

impl Buildable for ConcreteNodeArc<DocumentFragmentNodeStorage>[src]

type Storage = DocumentFragmentNodeStorage

Underlying storage struct for the node type.

impl<S: Clone + AnyNodeStorage> Clone for ConcreteNodeArc<S>[src]

impl From<ConcreteNodeArc<AttributeNodeStorage>> for AnyNodeArc[src]

impl From<ConcreteNodeArc<CDataSectionNodeStorage>> for AnyNodeArc[src]

impl From<ConcreteNodeArc<CommentNodeStorage>> for AnyNodeArc[src]

impl From<ConcreteNodeArc<DocumentFragmentNodeStorage>> for AnyNodeArc[src]

impl From<ConcreteNodeArc<DocumentNodeStorage>> for AnyNodeArc[src]

impl From<ConcreteNodeArc<DocumentTypeNodeStorage>> for AnyNodeArc[src]

impl From<ConcreteNodeArc<ElementNodeStorage>> for AnyNodeArc[src]

impl From<ConcreteNodeArc<ProcessingInstructionNodeStorage>> for AnyNodeArc[src]

impl From<ConcreteNodeArc<TextNodeStorage>> for AnyNodeArc[src]

impl NodeBehavior for ConcreteNodeArc<ElementNodeStorage>[src]

impl NodeBehavior for ConcreteNodeArc<AttributeNodeStorage>[src]

impl NodeBehavior for ConcreteNodeArc<TextNodeStorage>[src]

impl NodeBehavior for ConcreteNodeArc<CDataSectionNodeStorage>[src]

impl NodeBehavior for ConcreteNodeArc<ProcessingInstructionNodeStorage>[src]

impl NodeBehavior for ConcreteNodeArc<CommentNodeStorage>[src]

impl NodeBehavior for ConcreteNodeArc<DocumentNodeStorage>[src]

impl NodeBehavior for ConcreteNodeArc<DocumentTypeNodeStorage>[src]

impl NodeBehavior for ConcreteNodeArc<DocumentFragmentNodeStorage>[src]

impl TryFrom<AnyNodeArc> for ConcreteNodeArc<ElementNodeStorage>[src]

type Error = AnyNodeArc

The type returned in the event of a conversion error.

impl TryFrom<AnyNodeArc> for ConcreteNodeArc<AttributeNodeStorage>[src]

type Error = AnyNodeArc

The type returned in the event of a conversion error.

impl TryFrom<AnyNodeArc> for ConcreteNodeArc<TextNodeStorage>[src]

type Error = AnyNodeArc

The type returned in the event of a conversion error.

impl TryFrom<AnyNodeArc> for ConcreteNodeArc<CDataSectionNodeStorage>[src]

type Error = AnyNodeArc

The type returned in the event of a conversion error.

impl TryFrom<AnyNodeArc> for ConcreteNodeArc<ProcessingInstructionNodeStorage>[src]

type Error = AnyNodeArc

The type returned in the event of a conversion error.

impl TryFrom<AnyNodeArc> for ConcreteNodeArc<CommentNodeStorage>[src]

type Error = AnyNodeArc

The type returned in the event of a conversion error.

impl TryFrom<AnyNodeArc> for ConcreteNodeArc<DocumentNodeStorage>[src]

type Error = AnyNodeArc

The type returned in the event of a conversion error.

impl TryFrom<AnyNodeArc> for ConcreteNodeArc<DocumentTypeNodeStorage>[src]

type Error = AnyNodeArc

The type returned in the event of a conversion error.

impl TryFrom<AnyNodeArc> for ConcreteNodeArc<DocumentFragmentNodeStorage>[src]

type Error = AnyNodeArc

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<S> RefUnwindSafe for ConcreteNodeArc<S> where
    S: RefUnwindSafe

impl<S> Send for ConcreteNodeArc<S> where
    S: Send + Sync

impl<S> Sync for ConcreteNodeArc<S> where
    S: Send + Sync

impl<S> Unpin for ConcreteNodeArc<S>

impl<S> UnwindSafe for ConcreteNodeArc<S> where
    S: RefUnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.