pub enum TocContent {
Paragraph(Box<Paragraph>),
Table(Box<Table>),
}
Variants§
Trait Implementations§
Source§impl Clone for TocContent
impl Clone for TocContent
Source§fn clone(&self) -> TocContent
fn clone(&self) -> TocContent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TocContent
impl Debug for TocContent
Source§impl PartialEq for TocContent
impl PartialEq for TocContent
Source§impl Serialize for TocContent
impl Serialize for TocContent
impl StructuralPartialEq for TocContent
Auto Trait Implementations§
impl Freeze for TocContent
impl RefUnwindSafe for TocContent
impl Send for TocContent
impl Sync for TocContent
impl Unpin for TocContent
impl UnwindSafe for TocContent
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