pub enum Content {
Text(String),
Element(Element),
}Expand description
A node in an element’s content.
Variants§
Implementations§
Trait Implementations§
impl StructuralPartialEq for Content
Auto Trait Implementations§
impl Forget for Content
impl Freeze for Contentwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<(String, String)>: Freeze,
PhantomData<Content>: Freeze,
impl Move for Content
impl RefUnwindSafe for Content
impl Send for Contentwhere
RawVecInner: Send,
impl Sync for Contentwhere
RawVecInner: Sync,
impl Unpin for Content
impl UnsafeUnpin for Contentwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
PhantomData<Content>: UnsafeUnpin,
impl UnwindSafe for Contentwhere
RawVecInner: UnwindSafe,
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