Enum netsblox_vm::runtime::FromAstError
source · pub enum FromAstError<'a> {
BadNumber {
error: NumberError,
},
BadKeycode {
key: CompactString,
},
UnsupportedEvent {
kind: &'a HatKind,
},
CompileError {
error: CompileError<'a>,
},
}
Variants§
BadNumber
Fields
§
error: NumberError
BadKeycode
Fields
§
key: CompactString
UnsupportedEvent
CompileError
Fields
§
error: CompileError<'a>
Trait Implementations§
source§impl<'a> Debug for FromAstError<'a>
impl<'a> Debug for FromAstError<'a>
source§impl<'a> From<CompileError<'a>> for FromAstError<'a>
impl<'a> From<CompileError<'a>> for FromAstError<'a>
source§fn from(error: CompileError<'a>) -> Self
fn from(error: CompileError<'a>) -> Self
Converts to this type from the input type.
source§impl From<NumberError> for FromAstError<'_>
impl From<NumberError> for FromAstError<'_>
source§fn from(error: NumberError) -> Self
fn from(error: NumberError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> RefUnwindSafe for FromAstError<'a>
impl<'a> !Send for FromAstError<'a>
impl<'a> !Sync for FromAstError<'a>
impl<'a> Unpin for FromAstError<'a>
impl<'a> UnwindSafe for FromAstError<'a>
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