pub struct NodeDescriptionItem {
pub marker_offset: usize,
pub padding: usize,
pub tight: bool,
}Expand description
The metadata of a description list
Fields§
§marker_offset: usizeNumber of spaces before the list marker.
padding: usizeNumber of characters between the start of the list marker and the item text (including the list marker(s)).
tight: boolWhether the list is tight, i.e. whether the
paragraphs are wrapped in <p> tags when formatted as HTML.
Trait Implementations§
Source§impl Clone for NodeDescriptionItem
impl Clone for NodeDescriptionItem
Source§fn clone(&self) -> NodeDescriptionItem
fn clone(&self) -> NodeDescriptionItem
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 NodeDescriptionItem
impl Debug for NodeDescriptionItem
Source§impl Default for NodeDescriptionItem
impl Default for NodeDescriptionItem
Source§fn default() -> NodeDescriptionItem
fn default() -> NodeDescriptionItem
Returns the “default value” for a type. Read more
Source§impl PartialEq for NodeDescriptionItem
impl PartialEq for NodeDescriptionItem
impl Copy for NodeDescriptionItem
impl Eq for NodeDescriptionItem
impl StructuralPartialEq for NodeDescriptionItem
Auto Trait Implementations§
impl Freeze for NodeDescriptionItem
impl RefUnwindSafe for NodeDescriptionItem
impl Send for NodeDescriptionItem
impl Sync for NodeDescriptionItem
impl Unpin for NodeDescriptionItem
impl UnwindSafe for NodeDescriptionItem
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