pub struct Spoiler {
pub meta: NodeMeta,
pub children: Vec<Inline>,
}Expand description
A spoiler span: ||text||.
Fields§
§meta: NodeMetaNode metadata (source span).
children: Vec<Inline>The hidden inline content.
Trait Implementations§
impl Eq for Spoiler
impl StructuralPartialEq for Spoiler
Auto Trait Implementations§
impl Freeze for Spoiler
impl RefUnwindSafe for Spoiler
impl Send for Spoiler
impl Sync for Spoiler
impl Unpin for Spoiler
impl UnsafeUnpin for Spoiler
impl UnwindSafe for Spoiler
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