pub struct Void<'a> { /* private fields */ }
Expand description
A self-closing element.
Void elements can’t have any contents (since there’s no end tag, no content can be put between the start tag and the end tag).
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Void<'a>
impl<'a> RefUnwindSafe for Void<'a>
impl<'a> Send for Void<'a>
impl<'a> Sync for Void<'a>
impl<'a> Unpin for Void<'a>
impl<'a> UnwindSafe for Void<'a>
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