[−][src]Enum document_tree::element_categories::BodyElement
Variants
LiteralBlock(Box<LiteralBlock>)
DoctestBlock(Box<DoctestBlock>)
SubstitutionDefinition(Box<SubstitutionDefinition>)
BulletList(Box<BulletList>)
EnumeratedList(Box<EnumeratedList>)
DefinitionList(Box<DefinitionList>)
OptionList(Box<OptionList>)
BlockQuote(Box<BlockQuote>)
Admonition(Box<Admonition>)
SystemMessage(Box<SystemMessage>)
Trait Implementations
impl Clone for BodyElement
[src]
fn clone(&self) -> BodyElement
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for BodyElement
[src]
impl HasChildren<BodyElement> for Header
[src]
fn with_children(children: Vec<BodyElement>) -> Header
[src]
fn children(&self) -> &Vec<BodyElement>
[src]
fn children_mut(&mut self) -> &mut Vec<BodyElement>
[src]
fn append_child<R: Into<C>>(&mut self, child: R)
[src]
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
[src]
impl HasChildren<BodyElement> for Footer
[src]
fn with_children(children: Vec<BodyElement>) -> Footer
[src]
fn children(&self) -> &Vec<BodyElement>
[src]
fn children_mut(&mut self) -> &mut Vec<BodyElement>
[src]
fn append_child<R: Into<C>>(&mut self, child: R)
[src]
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
[src]
impl HasChildren<BodyElement> for Important
[src]
fn with_children(children: Vec<BodyElement>) -> Important
[src]
fn children(&self) -> &Vec<BodyElement>
[src]
fn children_mut(&mut self) -> &mut Vec<BodyElement>
[src]
fn append_child<R: Into<C>>(&mut self, child: R)
[src]
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
[src]
impl HasChildren<BodyElement> for Tip
[src]
fn with_children(children: Vec<BodyElement>) -> Tip
[src]
fn children(&self) -> &Vec<BodyElement>
[src]
fn children_mut(&mut self) -> &mut Vec<BodyElement>
[src]
fn append_child<R: Into<C>>(&mut self, child: R)
[src]
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
[src]
impl HasChildren<BodyElement> for Warning
[src]
fn with_children(children: Vec<BodyElement>) -> Warning
[src]
fn children(&self) -> &Vec<BodyElement>
[src]
fn children_mut(&mut self) -> &mut Vec<BodyElement>
[src]
fn append_child<R: Into<C>>(&mut self, child: R)
[src]
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
[src]
impl HasChildren<BodyElement> for SystemMessage
[src]
fn with_children(children: Vec<BodyElement>) -> SystemMessage
[src]
fn children(&self) -> &Vec<BodyElement>
[src]
fn children_mut(&mut self) -> &mut Vec<BodyElement>
[src]
fn append_child<R: Into<C>>(&mut self, child: R)
[src]
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
[src]
impl HasChildren<BodyElement> for TableEntry
[src]
fn with_children(children: Vec<BodyElement>) -> TableEntry
[src]
fn children(&self) -> &Vec<BodyElement>
[src]
fn children_mut(&mut self) -> &mut Vec<BodyElement>
[src]
fn append_child<R: Into<C>>(&mut self, child: R)
[src]
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
[src]
impl HasChildren<BodyElement> for ListItem
[src]
fn with_children(children: Vec<BodyElement>) -> ListItem
[src]
fn children(&self) -> &Vec<BodyElement>
[src]
fn children_mut(&mut self) -> &mut Vec<BodyElement>
[src]
fn append_child<R: Into<C>>(&mut self, child: R)
[src]
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
[src]
impl HasChildren<BodyElement> for Definition
[src]
fn with_children(children: Vec<BodyElement>) -> Definition
[src]
fn children(&self) -> &Vec<BodyElement>
[src]
fn children_mut(&mut self) -> &mut Vec<BodyElement>
[src]
fn append_child<R: Into<C>>(&mut self, child: R)
[src]
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
[src]
impl HasChildren<BodyElement> for FieldBody
[src]
fn with_children(children: Vec<BodyElement>) -> FieldBody
[src]
fn children(&self) -> &Vec<BodyElement>
[src]
fn children_mut(&mut self) -> &mut Vec<BodyElement>
[src]
fn append_child<R: Into<C>>(&mut self, child: R)
[src]
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
[src]
impl HasChildren<BodyElement> for Description
[src]
fn with_children(children: Vec<BodyElement>) -> Description
[src]
fn children(&self) -> &Vec<BodyElement>
[src]
fn children_mut(&mut self) -> &mut Vec<BodyElement>
[src]
fn append_child<R: Into<C>>(&mut self, child: R)
[src]
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
[src]
impl HasChildren<BodyElement> for Legend
[src]
fn with_children(children: Vec<BodyElement>) -> Legend
[src]
fn children(&self) -> &Vec<BodyElement>
[src]
fn children_mut(&mut self) -> &mut Vec<BodyElement>
[src]
fn append_child<R: Into<C>>(&mut self, child: R)
[src]
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
[src]
impl HasChildren<BodyElement> for Compound
[src]
fn with_children(children: Vec<BodyElement>) -> Compound
[src]
fn children(&self) -> &Vec<BodyElement>
[src]
fn children_mut(&mut self) -> &mut Vec<BodyElement>
[src]
fn append_child<R: Into<C>>(&mut self, child: R)
[src]
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
[src]
impl HasChildren<BodyElement> for Container
[src]
fn with_children(children: Vec<BodyElement>) -> Container
[src]
fn children(&self) -> &Vec<BodyElement>
[src]
fn children_mut(&mut self) -> &mut Vec<BodyElement>
[src]
fn append_child<R: Into<C>>(&mut self, child: R)
[src]
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
[src]
impl HasChildren<BodyElement> for Attention
[src]
fn with_children(children: Vec<BodyElement>) -> Attention
[src]
fn children(&self) -> &Vec<BodyElement>
[src]
fn children_mut(&mut self) -> &mut Vec<BodyElement>
[src]
fn append_child<R: Into<C>>(&mut self, child: R)
[src]
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
[src]
impl HasChildren<BodyElement> for Hint
[src]
fn with_children(children: Vec<BodyElement>) -> Hint
[src]
fn children(&self) -> &Vec<BodyElement>
[src]
fn children_mut(&mut self) -> &mut Vec<BodyElement>
[src]
fn append_child<R: Into<C>>(&mut self, child: R)
[src]
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
[src]
impl HasChildren<BodyElement> for Note
[src]
fn with_children(children: Vec<BodyElement>) -> Note
[src]
fn children(&self) -> &Vec<BodyElement>
[src]
fn children_mut(&mut self) -> &mut Vec<BodyElement>
[src]
fn append_child<R: Into<C>>(&mut self, child: R)
[src]
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
[src]
impl HasChildren<BodyElement> for Caution
[src]
fn with_children(children: Vec<BodyElement>) -> Caution
[src]
fn children(&self) -> &Vec<BodyElement>
[src]
fn children_mut(&mut self) -> &mut Vec<BodyElement>
[src]
fn append_child<R: Into<C>>(&mut self, child: R)
[src]
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
[src]
impl HasChildren<BodyElement> for Danger
[src]
fn with_children(children: Vec<BodyElement>) -> Danger
[src]
fn children(&self) -> &Vec<BodyElement>
[src]
fn children_mut(&mut self) -> &mut Vec<BodyElement>
[src]
fn append_child<R: Into<C>>(&mut self, child: R)
[src]
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
[src]
impl HasChildren<BodyElement> for Error
[src]
fn with_children(children: Vec<BodyElement>) -> Error
[src]
fn children(&self) -> &Vec<BodyElement>
[src]
fn children_mut(&mut self) -> &mut Vec<BodyElement>
[src]
fn append_child<R: Into<C>>(&mut self, child: R)
[src]
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
[src]
impl Into<BodyElement> for Paragraph
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for LiteralBlock
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for Image
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for Compound
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for Container
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for BulletList
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for EnumeratedList
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for DefinitionList
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for FieldList
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for OptionList
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for LineBlock
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for BlockQuote
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for DoctestBlock
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for Admonition
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for Attention
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for Hint
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for Note
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for Caution
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for Danger
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for Error
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for Important
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for Tip
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for Warning
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for MathBlock
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for Footnote
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for Citation
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for SystemMessage
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for Figure
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for Table
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for Rubric
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for SubstitutionDefinition
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for Comment
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for Pending
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for Target
[src]
fn into(self) -> BodyElement
[src]
impl Into<BodyElement> for Raw
[src]
fn into(self) -> BodyElement
[src]
impl Into<StructuralSubElement> for BodyElement
[src]
fn into(self) -> StructuralSubElement
[src]
impl Into<SubBlockQuote> for BodyElement
[src]
fn into(self) -> SubBlockQuote
[src]
impl Into<SubFigure> for BodyElement
[src]
impl Into<SubFootnote> for BodyElement
[src]
fn into(self) -> SubFootnote
[src]
impl Into<SubSidebar> for BodyElement
[src]
fn into(self) -> SubSidebar
[src]
impl Into<SubStructure> for BodyElement
[src]
fn into(self) -> SubStructure
[src]
impl Into<SubTopic> for BodyElement
[src]
impl PartialEq<BodyElement> for BodyElement
[src]
fn eq(&self, other: &BodyElement) -> bool
[src]
fn ne(&self, other: &BodyElement) -> bool
[src]
impl Serialize for BodyElement
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for BodyElement
[src]
Auto Trait Implementations
impl RefUnwindSafe for BodyElement
impl Send for BodyElement
impl Sync for BodyElement
impl Unpin for BodyElement
impl UnwindSafe for BodyElement
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,