pub enum CompileError {
Show 25 variants
AutofillGenerateError {
input: usize,
},
NameTransformError {
name: CompactString,
},
UnknownBlockType,
DerefAssignment,
UndefinedVariable {
name: CompactString,
},
UndefinedFn {
name: CompactString,
},
BlockOptionNotConst,
BlockOptionNotSelected,
UnknownEntity {
unknown: CompactString,
},
UnknownEffect {
effect: CompactString,
},
UnknownPenAttr {
attr: CompactString,
},
UnknownMessageType {
msg_type: CompactString,
},
MessageTypeWrongNumberArgs {
msg_type: CompactString,
got: usize,
expected: usize,
},
UnknownService {
service: CompactString,
},
UnknownRPC {
service: CompactString,
rpc: CompactString,
},
GlobalsWithSameTransName {
trans_name: CompactString,
names: (CompactString, CompactString),
},
EntitiesWithSameTransName {
trans_name: CompactString,
names: (CompactString, CompactString),
},
FieldsWithSameTransName {
trans_name: CompactString,
names: (CompactString, CompactString),
},
LocalsWithSameTransName {
trans_name: CompactString,
names: (CompactString, CompactString),
},
CostumesWithSameTransName {
trans_name: CompactString,
names: (CompactString, CompactString),
},
SoundsWithSameTransName {
trans_name: CompactString,
names: (CompactString, CompactString),
},
BlocksWithSameTransName {
trans_name: CompactString,
names: (CompactString, CompactString),
},
InputsWithSameName {
name: CompactString,
},
BlocksWithSameName {
name: CompactString,
sigs: (CompactString, CompactString),
},
CurrentlyUnsupported {
msg: CompactString,
},
}
Variants§
AutofillGenerateError
NameTransformError
Fields
§
name: CompactString
UnknownBlockType
DerefAssignment
UndefinedVariable
Fields
§
name: CompactString
UndefinedFn
Fields
§
name: CompactString
BlockOptionNotConst
BlockOptionNotSelected
UnknownEntity
Fields
§
unknown: CompactString
UnknownEffect
Fields
§
effect: CompactString
UnknownPenAttr
Fields
§
attr: CompactString
UnknownMessageType
Fields
§
msg_type: CompactString
MessageTypeWrongNumberArgs
UnknownService
Fields
§
service: CompactString
UnknownRPC
GlobalsWithSameTransName
EntitiesWithSameTransName
FieldsWithSameTransName
LocalsWithSameTransName
CostumesWithSameTransName
SoundsWithSameTransName
BlocksWithSameTransName
InputsWithSameName
Fields
§
name: CompactString
BlocksWithSameName
CurrentlyUnsupported
Fields
§
msg: CompactString
Trait Implementations§
Source§impl Debug for CompileError
impl Debug for CompileError
Source§impl From<CompileError> for ErrorKind
impl From<CompileError> for ErrorKind
Source§fn from(e: CompileError) -> Self
fn from(e: CompileError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CompileError
impl PartialEq for CompileError
impl Eq for CompileError
impl StructuralPartialEq for CompileError
Auto Trait Implementations§
impl Freeze for CompileError
impl RefUnwindSafe for CompileError
impl Send for CompileError
impl Sync for CompileError
impl Unpin for CompileError
impl UnwindSafe for CompileError
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