pub struct DescriptionList {
pub meta: NodeMeta,
pub tight: bool,
pub children: Vec<DescriptionItem>,
}Expand description
A description / definition list of term + details pairs.
Fields§
§meta: NodeMetaNode metadata (source span).
tight: booltrue if the list is tight (no blank lines between items).
children: Vec<DescriptionItem>The list’s term/details items.
Trait Implementations§
Source§impl Clone for DescriptionList
impl Clone for DescriptionList
Source§fn clone(&self) -> DescriptionList
fn clone(&self) -> DescriptionList
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 DescriptionList
impl Debug for DescriptionList
impl Eq for DescriptionList
Source§impl From<DescriptionList> for Block
impl From<DescriptionList> for Block
Source§fn from(node: DescriptionList) -> Self
fn from(node: DescriptionList) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DescriptionList
impl PartialEq for DescriptionList
Source§fn eq(&self, other: &DescriptionList) -> bool
fn eq(&self, other: &DescriptionList) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DescriptionList
Auto Trait Implementations§
impl Freeze for DescriptionList
impl RefUnwindSafe for DescriptionList
impl Send for DescriptionList
impl Sync for DescriptionList
impl Unpin for DescriptionList
impl UnsafeUnpin for DescriptionList
impl UnwindSafe for DescriptionList
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