pub struct TreeWithParseErrorOption { /* private fields */ }
Expand description
A type containing a tree and an optional parse error
Implementations
sourceimpl TreeWithParseErrorOption
impl TreeWithParseErrorOption
pub fn tree(&self) -> &Tree
pub fn into_tree(self) -> Tree
pub fn error(&self) -> &Option<ParseError<'_>>
pub fn into_option(self) -> Option<TreeWithParseError>
Trait Implementations
sourceimpl Debug for TreeWithParseErrorOption
impl Debug for TreeWithParseErrorOption
impl Send for TreeWithParseErrorOption
impl Sync for TreeWithParseErrorOption
Auto Trait Implementations
impl RefUnwindSafe for TreeWithParseErrorOption
impl Unpin for TreeWithParseErrorOption
impl UnwindSafe for TreeWithParseErrorOption
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more