pub enum LowerError {
NotAForm {
line: usize,
col: usize,
},
MissingFormName {
line: usize,
col: usize,
},
UnknownForm {
form: String,
line: usize,
col: usize,
},
Arity {
form: String,
expected: usize,
got: usize,
line: usize,
},
BadArgKind {
form: String,
position: usize,
kind: &'static str,
line: usize,
},
BadNumber {
value: String,
kind: &'static str,
line: usize,
},
UnknownResourceKind {
found: String,
line: usize,
},
UnknownBindingKind {
found: String,
line: usize,
},
UnknownNodeKind {
found: String,
line: usize,
},
UndefinedMaterial {
name: String,
},
}Variants§
NotAForm
MissingFormName
UnknownForm
Arity
BadArgKind
BadNumber
UnknownResourceKind
UnknownBindingKind
UnknownNodeKind
UndefinedMaterial
Trait Implementations§
Source§impl Clone for LowerError
impl Clone for LowerError
Source§fn clone(&self) -> LowerError
fn clone(&self) -> LowerError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LowerError
impl Debug for LowerError
Source§impl Display for LowerError
impl Display for LowerError
Source§impl Error for LowerError
impl Error for LowerError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<LowerError> for EngawaLispError
impl From<LowerError> for EngawaLispError
Source§fn from(source: LowerError) -> Self
fn from(source: LowerError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LowerError
impl PartialEq for LowerError
Source§fn eq(&self, other: &LowerError) -> bool
fn eq(&self, other: &LowerError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LowerError
Auto Trait Implementations§
impl Freeze for LowerError
impl RefUnwindSafe for LowerError
impl Send for LowerError
impl Sync for LowerError
impl Unpin for LowerError
impl UnsafeUnpin for LowerError
impl UnwindSafe for LowerError
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