pub struct Verbatim<'a> {
pub content: &'a str,
pub location: Location,
}Expand description
Text from a literal, listing, or source context.
Verbatim text inherits substitutions from its enclosing block like Plain,
but converters use literal or code presentation and preserve source whitespace
unless a requested substitution transforms it. Parsed callout markers are
represented by separate CalloutRef nodes rather than remaining in this text.
Fields§
§content: &'a str§location: LocationTrait Implementations§
impl<'a> StructuralPartialEq for Verbatim<'a>
Auto Trait Implementations§
impl<'a> Freeze for Verbatim<'a>
impl<'a> RefUnwindSafe for Verbatim<'a>
impl<'a> Send for Verbatim<'a>
impl<'a> Sync for Verbatim<'a>
impl<'a> Unpin for Verbatim<'a>
impl<'a> UnsafeUnpin for Verbatim<'a>
impl<'a> UnwindSafe for Verbatim<'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