[][src]Struct kuchiki::ElementData

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

Data specific to element nodes.

Fields

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

impl !RefUnwindSafe for ElementData

impl !Send for ElementData

impl !Sync for ElementData

impl Unpin for ElementData

impl !UnwindSafe for ElementData

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.