Struct NodeDescriptionItem

struct NodeDescriptionItem { ... }

The metadata of a description list

Fields

marker_offset: usize

Number of spaces before the list marker.

padding: usize

Number of characters between the start of the list marker and the item text (including the list marker(s)).

tight: bool

Whether the list is tight, i.e. whether the paragraphs are wrapped in <p> tags when formatted as HTML.

Implementations

impl Clone for NodeDescriptionItem

fn clone(self: &Self) -> NodeDescriptionItem

impl Copy for NodeDescriptionItem

impl Debug for NodeDescriptionItem

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl Default for NodeDescriptionItem

fn default() -> NodeDescriptionItem

impl Eq for NodeDescriptionItem

impl Freeze for NodeDescriptionItem

impl PartialEq for NodeDescriptionItem

fn eq(self: &Self, other: &NodeDescriptionItem) -> bool

impl RefUnwindSafe for NodeDescriptionItem

impl Send for NodeDescriptionItem

impl StructuralPartialEq for NodeDescriptionItem

impl Sync for NodeDescriptionItem

impl Unpin for NodeDescriptionItem

impl UnwindSafe for NodeDescriptionItem

impl<T> Any for NodeDescriptionItem

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for NodeDescriptionItem

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for NodeDescriptionItem

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for NodeDescriptionItem

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for NodeDescriptionItem

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for NodeDescriptionItem

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for NodeDescriptionItem

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for NodeDescriptionItem

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for NodeDescriptionItem

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>