pub struct BlockQuote {
pub meta: NodeMeta,
pub children: Vec<Block>,
}Expand description
A block quote: content prefixed with > .
Fields§
§meta: NodeMetaNode metadata (source span).
children: Vec<Block>The quoted block content.
Trait Implementations§
Source§impl Clone for BlockQuote
impl Clone for BlockQuote
Source§fn clone(&self) -> BlockQuote
fn clone(&self) -> BlockQuote
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 moreSource§impl Debug for BlockQuote
impl Debug for BlockQuote
impl Eq for BlockQuote
Source§impl From<BlockQuote> for Block
impl From<BlockQuote> for Block
Source§fn from(node: BlockQuote) -> Self
fn from(node: BlockQuote) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BlockQuote
impl PartialEq for BlockQuote
Source§fn eq(&self, other: &BlockQuote) -> bool
fn eq(&self, other: &BlockQuote) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BlockQuote
Auto Trait Implementations§
impl Freeze for BlockQuote
impl RefUnwindSafe for BlockQuote
impl Send for BlockQuote
impl Sync for BlockQuote
impl Unpin for BlockQuote
impl UnsafeUnpin for BlockQuote
impl UnwindSafe for BlockQuote
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