Enum rat_in_a_tube::CompileErrorType
source · pub enum CompileErrorType {
Warning,
Error,
}
Expand description
Error type for CompileError.
Variants§
Warning
Warning, typically for potentially bad, but not technically invalid code
Error
The code was invalid
Implementations§
Trait Implementations§
source§impl Clone for CompileErrorType
impl Clone for CompileErrorType
source§fn clone(&self) -> CompileErrorType
fn clone(&self) -> CompileErrorType
Returns a copy 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 moresource§impl Debug for CompileErrorType
impl Debug for CompileErrorType
source§impl Display for CompileErrorType
impl Display for CompileErrorType
impl Copy for CompileErrorType
Auto Trait Implementations§
impl RefUnwindSafe for CompileErrorType
impl Send for CompileErrorType
impl Sync for CompileErrorType
impl Unpin for CompileErrorType
impl UnwindSafe for CompileErrorType
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