pub enum StructuralSubElement {
Title(Box<Title>),
Subtitle(Box<Subtitle>),
Decoration(Box<Decoration>),
Docinfo(Box<Docinfo>),
SubStructure(Box<SubStructure>),
}
Variants§
Title(Box<Title>)
Subtitle(Box<Subtitle>)
Decoration(Box<Decoration>)
Docinfo(Box<Docinfo>)
SubStructure(Box<SubStructure>)
Trait Implementations§
Source§impl Clone for StructuralSubElement
impl Clone for StructuralSubElement
Source§fn clone(&self) -> StructuralSubElement
fn clone(&self) -> StructuralSubElement
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 StructuralSubElement
impl Debug for StructuralSubElement
Source§impl From<Admonition> for StructuralSubElement
impl From<Admonition> for StructuralSubElement
Source§fn from(inner: Admonition) -> Self
fn from(inner: Admonition) -> Self
Converts to this type from the input type.
Source§impl From<Attention> for StructuralSubElement
impl From<Attention> for StructuralSubElement
Source§impl From<BlockQuote> for StructuralSubElement
impl From<BlockQuote> for StructuralSubElement
Source§fn from(inner: BlockQuote) -> Self
fn from(inner: BlockQuote) -> Self
Converts to this type from the input type.
Source§impl From<BodyElement> for StructuralSubElement
impl From<BodyElement> for StructuralSubElement
Source§fn from(inner: BodyElement) -> Self
fn from(inner: BodyElement) -> Self
Converts to this type from the input type.
Source§impl From<BulletList> for StructuralSubElement
impl From<BulletList> for StructuralSubElement
Source§fn from(inner: BulletList) -> Self
fn from(inner: BulletList) -> Self
Converts to this type from the input type.
Source§impl From<Caution> for StructuralSubElement
impl From<Caution> for StructuralSubElement
Source§impl From<Citation> for StructuralSubElement
impl From<Citation> for StructuralSubElement
Source§impl From<Comment> for StructuralSubElement
impl From<Comment> for StructuralSubElement
Source§impl From<Compound> for StructuralSubElement
impl From<Compound> for StructuralSubElement
Source§impl From<Container> for StructuralSubElement
impl From<Container> for StructuralSubElement
Source§impl From<Danger> for StructuralSubElement
impl From<Danger> for StructuralSubElement
Source§impl From<Decoration> for StructuralSubElement
impl From<Decoration> for StructuralSubElement
Source§fn from(inner: Decoration) -> Self
fn from(inner: Decoration) -> Self
Converts to this type from the input type.
Source§impl From<DefinitionList> for StructuralSubElement
impl From<DefinitionList> for StructuralSubElement
Source§fn from(inner: DefinitionList) -> Self
fn from(inner: DefinitionList) -> Self
Converts to this type from the input type.
Source§impl From<Docinfo> for StructuralSubElement
impl From<Docinfo> for StructuralSubElement
Source§impl From<DoctestBlock> for StructuralSubElement
impl From<DoctestBlock> for StructuralSubElement
Source§fn from(inner: DoctestBlock) -> Self
fn from(inner: DoctestBlock) -> Self
Converts to this type from the input type.
Source§impl From<EnumeratedList> for StructuralSubElement
impl From<EnumeratedList> for StructuralSubElement
Source§fn from(inner: EnumeratedList) -> Self
fn from(inner: EnumeratedList) -> Self
Converts to this type from the input type.
Source§impl From<Error> for StructuralSubElement
impl From<Error> for StructuralSubElement
Source§impl From<FieldList> for StructuralSubElement
impl From<FieldList> for StructuralSubElement
Source§impl From<Figure> for StructuralSubElement
impl From<Figure> for StructuralSubElement
Source§impl From<Footnote> for StructuralSubElement
impl From<Footnote> for StructuralSubElement
Source§impl From<Hint> for StructuralSubElement
impl From<Hint> for StructuralSubElement
Source§impl From<Image> for StructuralSubElement
impl From<Image> for StructuralSubElement
Source§impl From<Important> for StructuralSubElement
impl From<Important> for StructuralSubElement
Source§impl From<LineBlock> for StructuralSubElement
impl From<LineBlock> for StructuralSubElement
Source§impl From<LiteralBlock> for StructuralSubElement
impl From<LiteralBlock> for StructuralSubElement
Source§fn from(inner: LiteralBlock) -> Self
fn from(inner: LiteralBlock) -> Self
Converts to this type from the input type.
Source§impl From<MathBlock> for StructuralSubElement
impl From<MathBlock> for StructuralSubElement
Source§impl From<Note> for StructuralSubElement
impl From<Note> for StructuralSubElement
Source§impl From<OptionList> for StructuralSubElement
impl From<OptionList> for StructuralSubElement
Source§fn from(inner: OptionList) -> Self
fn from(inner: OptionList) -> Self
Converts to this type from the input type.
Source§impl From<Paragraph> for StructuralSubElement
impl From<Paragraph> for StructuralSubElement
Source§impl From<Pending> for StructuralSubElement
impl From<Pending> for StructuralSubElement
Source§impl From<Raw> for StructuralSubElement
impl From<Raw> for StructuralSubElement
Source§impl From<Rubric> for StructuralSubElement
impl From<Rubric> for StructuralSubElement
Source§impl From<Section> for StructuralSubElement
impl From<Section> for StructuralSubElement
Source§impl From<Sidebar> for StructuralSubElement
impl From<Sidebar> for StructuralSubElement
Source§impl From<SubStructure> for StructuralSubElement
impl From<SubStructure> for StructuralSubElement
Source§fn from(inner: SubStructure) -> Self
fn from(inner: SubStructure) -> Self
Converts to this type from the input type.
Source§impl From<SubstitutionDefinition> for StructuralSubElement
impl From<SubstitutionDefinition> for StructuralSubElement
Source§fn from(inner: SubstitutionDefinition) -> Self
fn from(inner: SubstitutionDefinition) -> Self
Converts to this type from the input type.
Source§impl From<Subtitle> for StructuralSubElement
impl From<Subtitle> for StructuralSubElement
Source§impl From<SystemMessage> for StructuralSubElement
impl From<SystemMessage> for StructuralSubElement
Source§fn from(inner: SystemMessage) -> Self
fn from(inner: SystemMessage) -> Self
Converts to this type from the input type.
Source§impl From<Table> for StructuralSubElement
impl From<Table> for StructuralSubElement
Source§impl From<Target> for StructuralSubElement
impl From<Target> for StructuralSubElement
Source§impl From<Tip> for StructuralSubElement
impl From<Tip> for StructuralSubElement
Source§impl From<Title> for StructuralSubElement
impl From<Title> for StructuralSubElement
Source§impl From<Topic> for StructuralSubElement
impl From<Topic> for StructuralSubElement
Source§impl From<Transition> for StructuralSubElement
impl From<Transition> for StructuralSubElement
Source§fn from(inner: Transition) -> Self
fn from(inner: Transition) -> Self
Converts to this type from the input type.
Source§impl From<Warning> for StructuralSubElement
impl From<Warning> for StructuralSubElement
Source§impl HasChildren<StructuralSubElement> for Document
impl HasChildren<StructuralSubElement> for Document
fn with_children(children: Vec<StructuralSubElement>) -> Document
fn children(&self) -> &Vec<StructuralSubElement>
fn children_mut(&mut self) -> &mut Vec<StructuralSubElement>
fn append_child<R: Into<C>>(&mut self, child: R)
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
Source§impl HasChildren<StructuralSubElement> for Section
impl HasChildren<StructuralSubElement> for Section
fn with_children(children: Vec<StructuralSubElement>) -> Section
fn children(&self) -> &Vec<StructuralSubElement>
fn children_mut(&mut self) -> &mut Vec<StructuralSubElement>
fn append_child<R: Into<C>>(&mut self, child: R)
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
Source§impl PartialEq for StructuralSubElement
impl PartialEq for StructuralSubElement
Source§impl Serialize for StructuralSubElement
impl Serialize for StructuralSubElement
impl StructuralPartialEq for StructuralSubElement
Auto Trait Implementations§
impl Freeze for StructuralSubElement
impl RefUnwindSafe for StructuralSubElement
impl Send for StructuralSubElement
impl Sync for StructuralSubElement
impl Unpin for StructuralSubElement
impl UnwindSafe for StructuralSubElement
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