pub enum BodyElement {
Text(Text),
Main(Main),
}
Variants§
Trait Implementations§
Source§impl<'a> From<BodyElement> for Node<'a>
impl<'a> From<BodyElement> for Node<'a>
Source§fn from(value: BodyElement) -> Self
fn from(value: BodyElement) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BodyElement
impl RefUnwindSafe for BodyElement
impl Send for BodyElement
impl Sync for BodyElement
impl Unpin for BodyElement
impl UnwindSafe for BodyElement
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