pub enum CheckErrorComponent {
Message(Vec<(String, Option<EColor>)>),
Error(CheckError),
ErrorWithDifferentSource(CheckError),
Source(Vec<(SourceRange, Option<EColor>)>),
}Variants§
Message(Vec<(String, Option<EColor>)>)
Error(CheckError)
ErrorWithDifferentSource(CheckError)
Source(Vec<(SourceRange, Option<EColor>)>)
Trait Implementations§
Source§impl Clone for CheckErrorComponent
impl Clone for CheckErrorComponent
Source§fn clone(&self) -> CheckErrorComponent
fn clone(&self) -> CheckErrorComponent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CheckErrorComponent
impl RefUnwindSafe for CheckErrorComponent
impl Send for CheckErrorComponent
impl Sync for CheckErrorComponent
impl Unpin for CheckErrorComponent
impl UnwindSafe for CheckErrorComponent
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