pub struct TreeWithParseErrorOption { /* private fields */ }
Expand description
A type containing a tree and an optional parse error
Implementations§
Source§impl 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§
Source§impl Debug for TreeWithParseErrorOption
impl Debug for TreeWithParseErrorOption
impl Send for TreeWithParseErrorOption
impl Sync for TreeWithParseErrorOption
Auto Trait Implementations§
impl Freeze for TreeWithParseErrorOption
impl RefUnwindSafe for TreeWithParseErrorOption
impl Unpin for TreeWithParseErrorOption
impl UnwindSafe for TreeWithParseErrorOption
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