pub struct RawMap {
pub text: String,
pub indent: usize,
pub content_start: usize,
}Expand description
A dedented raw body and where it came from.
Fields§
§text: String§indent: usizeThe indentation stripped from every non-empty line after the first.
content_start: usizeThe file offset of the body’s first character.
Implementations§
Source§impl RawMap
impl RawMap
pub fn new(text: impl Into<String>, indent: usize, content_start: usize) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RawMap
impl RefUnwindSafe for RawMap
impl Send for RawMap
impl Sync for RawMap
impl Unpin for RawMap
impl UnsafeUnpin for RawMap
impl UnwindSafe for RawMap
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