pub struct Snippet {
pub source: String,
pub fence_start_line: usize,
}Fields§
§source: StringThe extracted gram source text (fence delimiters excluded).
fence_start_line: usize0-based line number of the opening fence (```gram) in the host document.
Auto Trait Implementations§
impl Forget for Snippet
impl Freeze for Snippet
impl Move for Snippet
impl RefUnwindSafe for Snippet
impl Send for Snippetwhere
RawVecInner: Send,
impl Sync for Snippetwhere
RawVecInner: Sync,
impl Unpin for Snippet
impl UnsafeUnpin for Snippet
impl UnwindSafe for Snippetwhere
RawVecInner: UnwindSafe,
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