pub struct RawDelimitedBlock<'src> { /* private fields */ }Expand description
A delimited block that contains verbatim, raw, or comment text. The content between the matching delimiters is not parsed for block syntax.
The following delimiters are recognized as raw delimited blocks:
| Delimiter | Content type |
|---|---|
//// | Comment |
---- | Listing |
.... | Literal |
++++ | Passthrough |
Implementations§
Trait Implementations§
Source§impl<'src> Clone for RawDelimitedBlock<'src>
impl<'src> Clone for RawDelimitedBlock<'src>
Source§fn clone(&self) -> RawDelimitedBlock<'src>
fn clone(&self) -> RawDelimitedBlock<'src>
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 moreSource§impl<'src> Debug for RawDelimitedBlock<'src>
impl<'src> Debug for RawDelimitedBlock<'src>
Source§impl<'src> HasSpan<'src> for RawDelimitedBlock<'src>
impl<'src> HasSpan<'src> for RawDelimitedBlock<'src>
Source§impl<'src> IsBlock<'src> for RawDelimitedBlock<'src>
impl<'src> IsBlock<'src> for RawDelimitedBlock<'src>
Source§fn content_model(&self) -> ContentModel
fn content_model(&self) -> ContentModel
Returns the
ContentModel for this block.Source§fn raw_context(&self) -> CowStr<'src>
fn raw_context(&self) -> CowStr<'src>
Returns the raw (uninterpreted) context for this block. Read more
Source§fn title_source(&'src self) -> Option<Span<'src>>
fn title_source(&'src self) -> Option<Span<'src>>
Returns the source text for the title for this block, if present.
Source§fn attrlist(&'src self) -> Option<&'src Attrlist<'src>>
fn attrlist(&'src self) -> Option<&'src Attrlist<'src>>
Returns the attribute list for this block, if present.
Source§fn substitution_group(&'src self) -> SubstitutionGroup
fn substitution_group(&'src self) -> SubstitutionGroup
Returns the default substitution group that is applied unless you
customize the substitutions for a particular element.
Source§fn resolved_context(&'src self) -> CowStr<'src>
fn resolved_context(&'src self) -> CowStr<'src>
Returns the resolved context for this block. Read more
Source§fn declared_style(&'src self) -> Option<&'src str>
fn declared_style(&'src self) -> Option<&'src str>
Returns the declared (uninterpreted) style for this block. Read more
Source§fn nested_blocks(&'src self) -> Iter<'src, Block<'src>>
fn nested_blocks(&'src self) -> Iter<'src, Block<'src>>
Returns an iterator over the nested blocks contained within
this block. Read more
Source§impl<'src> PartialEq for RawDelimitedBlock<'src>
impl<'src> PartialEq for RawDelimitedBlock<'src>
impl<'src> Eq for RawDelimitedBlock<'src>
impl<'src> StructuralPartialEq for RawDelimitedBlock<'src>
Auto Trait Implementations§
impl<'src> Freeze for RawDelimitedBlock<'src>
impl<'src> RefUnwindSafe for RawDelimitedBlock<'src>
impl<'src> Send for RawDelimitedBlock<'src>
impl<'src> Sync for RawDelimitedBlock<'src>
impl<'src> Unpin for RawDelimitedBlock<'src>
impl<'src> UnwindSafe for RawDelimitedBlock<'src>
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