pub struct Element { /* private fields */ }Implementations§
Source§impl Element
impl Element
pub fn new(tag: &str) -> Node
pub fn set_attribute(&mut self, name: &str, value: impl AttributeValue)
pub fn append_child(&mut self, node: Node)
Auto Trait Implementations§
impl Freeze for Element
impl RefUnwindSafe for Element
impl Send for Element
impl Sync for Element
impl Unpin for Element
impl UnwindSafe for Element
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more