pub struct BlockquoteInfo {
pub nesting_level: usize,
pub marker_column: usize,
pub prefix: String,
pub content: String,
pub has_multiple_spaces_after_marker: bool,
}Expand description
Information about a blockquote line
Fields§
§nesting_level: usizeNesting level (1 for >, 2 for >>, etc.)
marker_column: usizeColumn where the first > starts (0-based)
prefix: StringThe blockquote prefix (e.g., “> “, “>> “, etc.)
content: StringContent after the blockquote marker(s)
has_multiple_spaces_after_marker: boolWhether the line has multiple spaces after the marker
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 (const: unstable) · 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 UnsafeUnpin 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