pub struct DescriptionItem {
pub meta: NodeMeta,
pub term: Vec<Inline>,
pub details: Vec<DescriptionDetails>,
}Expand description
One entry of a DescriptionList: a term and its detail blocks. Source: a
term line followed by : details lines.
Fields§
§meta: NodeMetaNode metadata (source span).
term: Vec<Inline>The term’s inline content.
details: Vec<DescriptionDetails>The detail group(s) attached to this term.
Trait Implementations§
Source§impl Clone for DescriptionItem
impl Clone for DescriptionItem
Source§fn clone(&self) -> DescriptionItem
fn clone(&self) -> DescriptionItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DescriptionItem
impl Debug for DescriptionItem
impl Eq for DescriptionItem
Source§impl PartialEq for DescriptionItem
impl PartialEq for DescriptionItem
Source§fn eq(&self, other: &DescriptionItem) -> bool
fn eq(&self, other: &DescriptionItem) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DescriptionItem
Auto Trait Implementations§
impl Freeze for DescriptionItem
impl RefUnwindSafe for DescriptionItem
impl Send for DescriptionItem
impl Sync for DescriptionItem
impl Unpin for DescriptionItem
impl UnsafeUnpin for DescriptionItem
impl UnwindSafe for DescriptionItem
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