Struct comrak::nodes::NodeDescriptionItem
source · pub struct NodeDescriptionItem {
pub marker_offset: usize,
pub padding: usize,
}
Expand description
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)).
Trait Implementations§
source§impl Clone for NodeDescriptionItem
impl Clone for NodeDescriptionItem
source§fn clone(&self) -> NodeDescriptionItem
fn clone(&self) -> NodeDescriptionItem
Returns a copy 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
source§fn eq(&self, other: &NodeDescriptionItem) -> bool
fn eq(&self, other: &NodeDescriptionItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NodeDescriptionItem
impl Eq for NodeDescriptionItem
impl StructuralEq for NodeDescriptionItem
impl StructuralPartialEq for NodeDescriptionItem
Auto Trait Implementations§
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