[][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 PartialEq<ElementData> for ElementData[src]

impl Clone for ElementData[src]

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

impl Debug for ElementData[src]

Auto Trait Implementations

impl !Send for ElementData

impl !Sync for ElementData

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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