Enum turing_lib::CompilerWarning
source · pub enum CompilerWarning {
StateOverwrite {
position: ErrorPosition,
state: String,
value_from: bool,
},
}
Variants§
StateOverwrite
Warning for when an instruction overwrites another
Trait Implementations§
source§impl Clone for CompilerWarning
impl Clone for CompilerWarning
source§fn clone(&self) -> CompilerWarning
fn clone(&self) -> CompilerWarning
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 CompilerWarning
impl Debug for CompilerWarning
source§impl PartialEq<CompilerWarning> for CompilerWarning
impl PartialEq<CompilerWarning> for CompilerWarning
source§fn eq(&self, other: &CompilerWarning) -> bool
fn eq(&self, other: &CompilerWarning) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CompilerWarning
impl StructuralEq for CompilerWarning
impl StructuralPartialEq for CompilerWarning
Auto Trait Implementations§
impl RefUnwindSafe for CompilerWarning
impl Send for CompilerWarning
impl Sync for CompilerWarning
impl Unpin for CompilerWarning
impl UnwindSafe for CompilerWarning
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