pub struct ParseInlineResult { /* private fields */ }Expand description
Successful inline-only parse output: the inline-node slice plus the
buffers it borrows from, plus any non-fatal warnings. Counterpart to
ParseResult for the inline-only entry point.
Implementations§
Source§impl ParseInlineResult
impl ParseInlineResult
Sourcepub fn inlines(&self) -> &[InlineNode<'_>]
pub fn inlines(&self) -> &[InlineNode<'_>]
Borrow the inline-node slice.
Sourcepub fn take_warnings(&mut self) -> Vec<Warning>
pub fn take_warnings(&mut self) -> Vec<Warning>
Take the warnings out of this result, leaving an empty slice
behind. See ParseResult::take_warnings.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParseInlineResult
impl !RefUnwindSafe for ParseInlineResult
impl Send for ParseInlineResult
impl !Sync for ParseInlineResult
impl Unpin for ParseInlineResult
impl UnsafeUnpin for ParseInlineResult
impl !UnwindSafe for ParseInlineResult
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