pub enum SubStructure {
Topic(Box<Topic>),
Sidebar(Box<Sidebar>),
Transition(Box<Transition>),
Section(Box<Section>),
BodyElement(Box<BodyElement>),
}Variants§
Topic(Box<Topic>)
Sidebar(Box<Sidebar>)
Transition(Box<Transition>)
Section(Box<Section>)
BodyElement(Box<BodyElement>)
Trait Implementations§
Source§impl Clone for SubStructure
impl Clone for SubStructure
Source§fn clone(&self) -> SubStructure
fn clone(&self) -> SubStructure
Returns a duplicate 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 SubStructure
impl Debug for SubStructure
Source§impl From<Admonition> for SubStructure
impl From<Admonition> for SubStructure
Source§fn from(inner: Admonition) -> Self
fn from(inner: Admonition) -> Self
Converts to this type from the input type.
Source§impl From<Attention> for SubStructure
impl From<Attention> for SubStructure
Source§impl From<BlockQuote> for SubStructure
impl From<BlockQuote> for SubStructure
Source§fn from(inner: BlockQuote) -> Self
fn from(inner: BlockQuote) -> Self
Converts to this type from the input type.
Source§impl From<BodyElement> for SubStructure
impl From<BodyElement> for SubStructure
Source§fn from(inner: BodyElement) -> Self
fn from(inner: BodyElement) -> Self
Converts to this type from the input type.
Source§impl From<BulletList> for SubStructure
impl From<BulletList> for SubStructure
Source§fn from(inner: BulletList) -> Self
fn from(inner: BulletList) -> Self
Converts to this type from the input type.
Source§impl From<Caution> for SubStructure
impl From<Caution> for SubStructure
Source§impl From<Citation> for SubStructure
impl From<Citation> for SubStructure
Source§impl From<Comment> for SubStructure
impl From<Comment> for SubStructure
Source§impl From<Compound> for SubStructure
impl From<Compound> for SubStructure
Source§impl From<Container> for SubStructure
impl From<Container> for SubStructure
Source§impl From<Danger> for SubStructure
impl From<Danger> for SubStructure
Source§impl From<DefinitionList> for SubStructure
impl From<DefinitionList> for SubStructure
Source§fn from(inner: DefinitionList) -> Self
fn from(inner: DefinitionList) -> Self
Converts to this type from the input type.
Source§impl From<DoctestBlock> for SubStructure
impl From<DoctestBlock> for SubStructure
Source§fn from(inner: DoctestBlock) -> Self
fn from(inner: DoctestBlock) -> Self
Converts to this type from the input type.
Source§impl From<EnumeratedList> for SubStructure
impl From<EnumeratedList> for SubStructure
Source§fn from(inner: EnumeratedList) -> Self
fn from(inner: EnumeratedList) -> Self
Converts to this type from the input type.
Source§impl From<Error> for SubStructure
impl From<Error> for SubStructure
Source§impl From<FieldList> for SubStructure
impl From<FieldList> for SubStructure
Source§impl From<Figure> for SubStructure
impl From<Figure> for SubStructure
Source§impl From<Footnote> for SubStructure
impl From<Footnote> for SubStructure
Source§impl From<Hint> for SubStructure
impl From<Hint> for SubStructure
Source§impl From<Image> for SubStructure
impl From<Image> for SubStructure
Source§impl From<Important> for SubStructure
impl From<Important> for SubStructure
Source§impl From<LineBlock> for SubStructure
impl From<LineBlock> for SubStructure
Source§impl From<LiteralBlock> for SubStructure
impl From<LiteralBlock> for SubStructure
Source§fn from(inner: LiteralBlock) -> Self
fn from(inner: LiteralBlock) -> Self
Converts to this type from the input type.
Source§impl From<MathBlock> for SubStructure
impl From<MathBlock> for SubStructure
Source§impl From<Note> for SubStructure
impl From<Note> for SubStructure
Source§impl From<OptionList> for SubStructure
impl From<OptionList> for SubStructure
Source§fn from(inner: OptionList) -> Self
fn from(inner: OptionList) -> Self
Converts to this type from the input type.
Source§impl From<Paragraph> for SubStructure
impl From<Paragraph> for SubStructure
Source§impl From<Pending> for SubStructure
impl From<Pending> for SubStructure
Source§impl From<Raw> for SubStructure
impl From<Raw> for SubStructure
Source§impl From<Rubric> for SubStructure
impl From<Rubric> for SubStructure
Source§impl From<Section> for SubStructure
impl From<Section> for SubStructure
Source§impl From<Sidebar> for SubStructure
impl From<Sidebar> for SubStructure
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 SubStructure
impl From<SubstitutionDefinition> for SubStructure
Source§fn from(inner: SubstitutionDefinition) -> Self
fn from(inner: SubstitutionDefinition) -> Self
Converts to this type from the input type.
Source§impl From<SystemMessage> for SubStructure
impl From<SystemMessage> for SubStructure
Source§fn from(inner: SystemMessage) -> Self
fn from(inner: SystemMessage) -> Self
Converts to this type from the input type.
Source§impl From<Table> for SubStructure
impl From<Table> for SubStructure
Source§impl From<Target> for SubStructure
impl From<Target> for SubStructure
Source§impl From<Tip> for SubStructure
impl From<Tip> for SubStructure
Source§impl From<Topic> for SubStructure
impl From<Topic> for SubStructure
Source§impl From<Transition> for SubStructure
impl From<Transition> for SubStructure
Source§fn from(inner: Transition) -> Self
fn from(inner: Transition) -> Self
Converts to this type from the input type.
Source§impl From<Warning> for SubStructure
impl From<Warning> for SubStructure
Source§impl JsonSchema for SubStructure
impl JsonSchema for SubStructure
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for SubStructure
impl PartialEq for SubStructure
Source§impl Serialize for SubStructure
impl Serialize for SubStructure
Source§impl<'a> TryFrom<&'a SubStructure> for &'a BodyElement
impl<'a> TryFrom<&'a SubStructure> for &'a BodyElement
impl StructuralPartialEq for SubStructure
Auto Trait Implementations§
impl Freeze for SubStructure
impl RefUnwindSafe for SubStructure
impl Send for SubStructure
impl Sync for SubStructure
impl Unpin for SubStructure
impl UnwindSafe for SubStructure
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