Struct lignin::Element[][src]

pub struct Element<'a> {
    pub name: &'a str,
    pub attributes: &'a [Attribute<'a>],
    pub content: &'a [Node<'a>],
    pub event_bindings: &'a [EventBinding<'a>],
}

Fields

name: &'a strattributes: &'a [Attribute<'a>]content: &'a [Node<'a>]event_bindings: &'a [EventBinding<'a>]

Trait Implementations

impl<'a: 'b, 'b> From<&'a Element<'a>> for Node<'b>[src]

impl<'a: 'b, 'b> From<&'a mut Element<'a>> for Node<'b>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Element<'a>[src]

impl<'a> !Send for Element<'a>[src]

impl<'a> !Sync for Element<'a>[src]

impl<'a> Unpin for Element<'a>[src]

impl<'a> !UnwindSafe for Element<'a>[src]

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, 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.