pub struct Raw<'a> {
pub content: &'a str,
pub location: Location,
pub subs: Vec<Substitution>,
}Expand description
Fields§
§content: &'a str§location: Location§subs: Vec<Substitution>The passthrough substitutions that the converter applies to this text, in order.
These replace, rather than extend, the enclosing block’s substitutions.
The parser resolves substitutions that create inline structure before it
returns the AST, so parsed nodes normally retain only substitutions that
require converter-specific rendering. Repeated entries remain significant. An
empty list means no further substitutions, as with +++text+++ and pass:[text].
Trait Implementations§
impl<'a> StructuralPartialEq for Raw<'a>
Auto Trait Implementations§
impl<'a> Freeze for Raw<'a>
impl<'a> RefUnwindSafe for Raw<'a>
impl<'a> Send for Raw<'a>
impl<'a> Sync for Raw<'a>
impl<'a> Unpin for Raw<'a>
impl<'a> UnsafeUnpin for Raw<'a>
impl<'a> UnwindSafe for Raw<'a>
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