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]
fn clone(&self) -> ConcreteNodeArc<S>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl From<ConcreteNodeArc<AttributeNodeStorage>> for AnyNodeArc
[src]
fn from(concrete: ConcreteNodeArc<AttributeNodeStorage>) -> Self
[src]
impl From<ConcreteNodeArc<CDataSectionNodeStorage>> for AnyNodeArc
[src]
fn from(concrete: ConcreteNodeArc<CDataSectionNodeStorage>) -> Self
[src]
impl From<ConcreteNodeArc<CommentNodeStorage>> for AnyNodeArc
[src]
fn from(concrete: ConcreteNodeArc<CommentNodeStorage>) -> Self
[src]
impl From<ConcreteNodeArc<DocumentFragmentNodeStorage>> for AnyNodeArc
[src]
fn from(concrete: ConcreteNodeArc<DocumentFragmentNodeStorage>) -> Self
[src]
impl From<ConcreteNodeArc<DocumentNodeStorage>> for AnyNodeArc
[src]
fn from(concrete: ConcreteNodeArc<DocumentNodeStorage>) -> Self
[src]
impl From<ConcreteNodeArc<DocumentTypeNodeStorage>> for AnyNodeArc
[src]
fn from(concrete: ConcreteNodeArc<DocumentTypeNodeStorage>) -> Self
[src]
impl From<ConcreteNodeArc<ElementNodeStorage>> for AnyNodeArc
[src]
fn from(concrete: ConcreteNodeArc<ElementNodeStorage>) -> Self
[src]
impl From<ConcreteNodeArc<ProcessingInstructionNodeStorage>> for AnyNodeArc
[src]
fn from(concrete: ConcreteNodeArc<ProcessingInstructionNodeStorage>) -> Self
[src]
impl From<ConcreteNodeArc<TextNodeStorage>> for AnyNodeArc
[src]
fn from(concrete: ConcreteNodeArc<TextNodeStorage>) -> Self
[src]
impl NodeBehavior for ConcreteNodeArc<ElementNodeStorage>
[src]
fn first_child(&self) -> Option<AnyNodeArc>
[src]
fn last_child(&self) -> Option<AnyNodeArc>
[src]
fn append_child(&self, other: AnyNodeArc)
[src]
fn child_nodes(&self) -> Arc<NodeList>
[src]
fn clone_node(&self) -> AnyNodeArc
[src]
fn get_node_type(&self) -> isize
[src]
impl NodeBehavior for ConcreteNodeArc<AttributeNodeStorage>
[src]
fn first_child(&self) -> Option<AnyNodeArc>
[src]
fn last_child(&self) -> Option<AnyNodeArc>
[src]
fn append_child(&self, other: AnyNodeArc)
[src]
fn child_nodes(&self) -> Arc<NodeList>
[src]
fn clone_node(&self) -> AnyNodeArc
[src]
fn get_node_type(&self) -> isize
[src]
impl NodeBehavior for ConcreteNodeArc<TextNodeStorage>
[src]
fn first_child(&self) -> Option<AnyNodeArc>
[src]
fn last_child(&self) -> Option<AnyNodeArc>
[src]
fn append_child(&self, other: AnyNodeArc)
[src]
fn child_nodes(&self) -> Arc<NodeList>
[src]
fn clone_node(&self) -> AnyNodeArc
[src]
fn get_node_type(&self) -> isize
[src]
impl NodeBehavior for ConcreteNodeArc<CDataSectionNodeStorage>
[src]
fn first_child(&self) -> Option<AnyNodeArc>
[src]
fn last_child(&self) -> Option<AnyNodeArc>
[src]
fn append_child(&self, other: AnyNodeArc)
[src]
fn child_nodes(&self) -> Arc<NodeList>
[src]
fn clone_node(&self) -> AnyNodeArc
[src]
fn get_node_type(&self) -> isize
[src]
impl NodeBehavior for ConcreteNodeArc<ProcessingInstructionNodeStorage>
[src]
fn first_child(&self) -> Option<AnyNodeArc>
[src]
fn last_child(&self) -> Option<AnyNodeArc>
[src]
fn append_child(&self, other: AnyNodeArc)
[src]
fn child_nodes(&self) -> Arc<NodeList>
[src]
fn clone_node(&self) -> AnyNodeArc
[src]
fn get_node_type(&self) -> isize
[src]
impl NodeBehavior for ConcreteNodeArc<CommentNodeStorage>
[src]
fn first_child(&self) -> Option<AnyNodeArc>
[src]
fn last_child(&self) -> Option<AnyNodeArc>
[src]
fn append_child(&self, other: AnyNodeArc)
[src]
fn child_nodes(&self) -> Arc<NodeList>
[src]
fn clone_node(&self) -> AnyNodeArc
[src]
fn get_node_type(&self) -> isize
[src]
impl NodeBehavior for ConcreteNodeArc<DocumentNodeStorage>
[src]
fn first_child(&self) -> Option<AnyNodeArc>
[src]
fn last_child(&self) -> Option<AnyNodeArc>
[src]
fn append_child(&self, other: AnyNodeArc)
[src]
fn child_nodes(&self) -> Arc<NodeList>
[src]
fn clone_node(&self) -> AnyNodeArc
[src]
fn get_node_type(&self) -> isize
[src]
impl NodeBehavior for ConcreteNodeArc<DocumentTypeNodeStorage>
[src]
fn first_child(&self) -> Option<AnyNodeArc>
[src]
fn last_child(&self) -> Option<AnyNodeArc>
[src]
fn append_child(&self, other: AnyNodeArc)
[src]
fn child_nodes(&self) -> Arc<NodeList>
[src]
fn clone_node(&self) -> AnyNodeArc
[src]
fn get_node_type(&self) -> isize
[src]
impl NodeBehavior for ConcreteNodeArc<DocumentFragmentNodeStorage>
[src]
fn first_child(&self) -> Option<AnyNodeArc>
[src]
fn last_child(&self) -> Option<AnyNodeArc>
[src]
fn append_child(&self, other: AnyNodeArc)
[src]
fn child_nodes(&self) -> Arc<NodeList>
[src]
fn clone_node(&self) -> AnyNodeArc
[src]
fn get_node_type(&self) -> isize
[src]
impl TryFrom<AnyNodeArc> for ConcreteNodeArc<ElementNodeStorage>
[src]
type Error = AnyNodeArc
The type returned in the event of a conversion error.
fn try_from(value: AnyNodeArc) -> Result<Self, Self::Error>
[src]
impl TryFrom<AnyNodeArc> for ConcreteNodeArc<AttributeNodeStorage>
[src]
type Error = AnyNodeArc
The type returned in the event of a conversion error.
fn try_from(value: AnyNodeArc) -> Result<Self, Self::Error>
[src]
impl TryFrom<AnyNodeArc> for ConcreteNodeArc<TextNodeStorage>
[src]
type Error = AnyNodeArc
The type returned in the event of a conversion error.
fn try_from(value: AnyNodeArc) -> Result<Self, Self::Error>
[src]
impl TryFrom<AnyNodeArc> for ConcreteNodeArc<CDataSectionNodeStorage>
[src]
type Error = AnyNodeArc
The type returned in the event of a conversion error.
fn try_from(value: AnyNodeArc) -> Result<Self, Self::Error>
[src]
impl TryFrom<AnyNodeArc> for ConcreteNodeArc<ProcessingInstructionNodeStorage>
[src]
type Error = AnyNodeArc
The type returned in the event of a conversion error.
fn try_from(value: AnyNodeArc) -> Result<Self, Self::Error>
[src]
impl TryFrom<AnyNodeArc> for ConcreteNodeArc<CommentNodeStorage>
[src]
type Error = AnyNodeArc
The type returned in the event of a conversion error.
fn try_from(value: AnyNodeArc) -> Result<Self, Self::Error>
[src]
impl TryFrom<AnyNodeArc> for ConcreteNodeArc<DocumentNodeStorage>
[src]
type Error = AnyNodeArc
The type returned in the event of a conversion error.
fn try_from(value: AnyNodeArc) -> Result<Self, Self::Error>
[src]
impl TryFrom<AnyNodeArc> for ConcreteNodeArc<DocumentTypeNodeStorage>
[src]
type Error = AnyNodeArc
The type returned in the event of a conversion error.
fn try_from(value: AnyNodeArc) -> Result<Self, Self::Error>
[src]
impl TryFrom<AnyNodeArc> for ConcreteNodeArc<DocumentFragmentNodeStorage>
[src]
type Error = AnyNodeArc
The type returned in the event of a conversion error.
fn try_from(value: AnyNodeArc) -> Result<Self, Self::Error>
[src]
Auto Trait Implementations
impl<S> RefUnwindSafe for ConcreteNodeArc<S> where
S: RefUnwindSafe,
S: RefUnwindSafe,
impl<S> Send for ConcreteNodeArc<S> where
S: Send + Sync,
S: Send + Sync,
impl<S> Sync for ConcreteNodeArc<S> where
S: Send + Sync,
S: Send + Sync,
impl<S> Unpin for ConcreteNodeArc<S>
impl<S> UnwindSafe for ConcreteNodeArc<S> where
S: RefUnwindSafe,
S: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,