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 str
attributes: &'a [Attribute<'a>]
content: &'a [Node<'a>]
event_bindings: &'a [EventBinding<'a>]
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Element<'a>
impl<'a> !Send for Element<'a>
impl<'a> !Sync for Element<'a>
impl<'a> Unpin for Element<'a>
impl<'a> !UnwindSafe for Element<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more