[][src]Struct kuchiki::ElementData

pub struct ElementData {
    pub name: QualName,
    pub attributes: RefCell<Attributes>,
    pub template_contents: Option<NodeRef>,

Data specific to element nodes.


name: QualName

The namespace and local name of the element, such as ns!(html) and body.

attributes: RefCell<Attributes>

The attributes of the elements.

template_contents: Option<NodeRef>

If the element is an HTML <template> element, the document fragment node that is the root of template contents.

Trait Implementations

impl Clone for ElementData[src]

impl Debug for ElementData[src]

impl PartialEq<ElementData> for ElementData[src]

impl StructuralPartialEq for ElementData[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.