pub struct Element { /* private fields */ }
Implementations
sourceimpl Element
impl Element
pub fn new(tag: Tag, attrs: HashMap<String, String>) -> Self
pub fn append(&mut self, element: Self)
pub fn set_level(&mut self, level: u32)
pub fn get_attributes(&self) -> &HashMap<String, String>
pub fn get_tag(&self) -> &Tag
pub fn get_children(&self) -> &Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Element
impl !Send for Element
impl !Sync for Element
impl Unpin for Element
impl UnwindSafe for Element
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more