pub struct Plain<'a> {
pub content: &'a str,
pub location: Location,
pub escaped: bool,
}Expand description
A Plain represents a plain text section in a document.
This is the most basic form of text in a document.
Fields§
§content: &'a str§location: Location§escaped: boolTrue if content originated from an escaped pattern (e.g., \^2^).
When true, the converter should not re-parse for quotes.
Trait Implementations§
impl<'a> StructuralPartialEq for Plain<'a>
Auto Trait Implementations§
impl<'a> Freeze for Plain<'a>
impl<'a> RefUnwindSafe for Plain<'a>
impl<'a> Send for Plain<'a>
impl<'a> Sync for Plain<'a>
impl<'a> Unpin for Plain<'a>
impl<'a> UnsafeUnpin for Plain<'a>
impl<'a> UnwindSafe for Plain<'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