pub struct BlockquoteInfo {
pub nesting_level: usize,
pub indent: String,
pub marker_column: usize,
pub prefix: String,
pub content: String,
pub has_no_space_after_marker: bool,
pub has_multiple_spaces_after_marker: bool,
pub needs_md028_fix: bool,
}Expand description
Information about a blockquote line
Fields§
§nesting_level: usizeNesting level (1 for >, 2 for >>, etc.)
indent: StringThe indentation before the blockquote marker
marker_column: usizeColumn where the first > starts (0-based)
prefix: StringThe blockquote prefix (e.g., “> “, “>> “, etc.)
content: StringContent after the blockquote marker(s)
has_no_space_after_marker: boolWhether the line has no space after the marker
has_multiple_spaces_after_marker: boolWhether the line has multiple spaces after the marker
needs_md028_fix: boolWhether this is an empty blockquote line needing MD028 fix
Trait Implementations§
Source§impl Clone for BlockquoteInfo
impl Clone for BlockquoteInfo
Source§fn clone(&self) -> BlockquoteInfo
fn clone(&self) -> BlockquoteInfo
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 moreAuto Trait Implementations§
impl Freeze for BlockquoteInfo
impl RefUnwindSafe for BlockquoteInfo
impl Send for BlockquoteInfo
impl Sync for BlockquoteInfo
impl Unpin for BlockquoteInfo
impl UnwindSafe for BlockquoteInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more