pub enum AstStatus {
Complete,
HasErrors,
}Expand description
An enum representing different states of a CST.
Variants§
Complete
Indicates that the parsed CST is a perfect clone of the code passed to it and that no errors has occurred.
HasErrors
Indicates that the parsed CST is incomplete because the code had syntax errors.
Trait Implementations§
Source§impl Ord for AstStatus
impl Ord for AstStatus
Source§impl PartialOrd for AstStatus
impl PartialOrd for AstStatus
impl Eq for AstStatus
impl StructuralPartialEq for AstStatus
Auto Trait Implementations§
impl Freeze for AstStatus
impl RefUnwindSafe for AstStatus
impl Send for AstStatus
impl Sync for AstStatus
impl Unpin for AstStatus
impl UnwindSafe for AstStatus
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