Enum netsblox_ast::ProjectError
source · [−]pub enum ProjectError {
Show 41 variants
NoRoot,
UnnamedRole,
ValueNotEvaluated {
role: String,
entity: Option<String>,
},
InvalidJson {
reason: String,
},
NoRoleContent {
role: String,
},
NoStageDef {
role: String,
},
CustomBlockWithoutName {
role: String,
entity: Option<String>,
},
CustomBlockWithoutType {
role: String,
entity: Option<String>,
sig: String,
},
CustomBlockUnknownType {
role: String,
entity: Option<String>,
sig: String,
ty: String,
},
CustomBlockWithoutCode {
role: String,
entity: Option<String>,
sig: String,
},
ImageWithoutId {
role: String,
},
ImagesWithSameId {
role: String,
id: String,
},
ImageWithoutContent {
role: String,
id: String,
},
ImageUnknownFormat {
role: String,
id: String,
content: String,
},
EntitiesWithSameName {
role: String,
name: String,
},
CostumeIdFmt {
role: String,
entity: String,
id: String,
},
CostumeUndefinedRef {
role: String,
entity: String,
id: String,
},
CostumesWithSameName {
role: String,
entity: String,
name: String,
},
UnnamedGlobal {
role: String,
},
GlobalNoValue {
role: String,
name: String,
},
GlobalsWithSameName {
role: String,
name: String,
},
UnnamedField {
role: String,
entity: String,
},
FieldNoValue {
role: String,
entity: String,
name: String,
},
FieldsWithSameName {
role: String,
entity: String,
name: String,
},
ListItemNoValue {
role: String,
entity: String,
},
BoolNoValue {
role: String,
entity: String,
},
BoolUnknownValue {
role: String,
entity: String,
value: String,
},
UnnamedEntity {
role: String,
},
UnknownBlockMetaType {
role: String,
entity: String,
meta_type: String,
},
BlockWithoutType {
role: String,
entity: String,
},
BlockChildCount {
role: String,
entity: String,
block_type: String,
needed: usize,
got: usize,
},
BlockMissingOption {
role: String,
entity: String,
block_type: String,
},
BlockOptionUnknown {
role: String,
entity: String,
block_type: String,
got: String,
},
InvalidBoolLiteral {
role: String,
entity: String,
},
NonConstantUpvar {
role: String,
entity: String,
block_type: String,
},
FailedToParseColor {
role: String,
entity: String,
color: String,
},
MessageTypeMissingName {
role: String,
},
MessageTypeNameEmpty {
role: String,
},
MessageTypeMissingFields {
role: String,
msg_type: String,
},
MessageTypeFieldEmpty {
role: String,
msg_type: String,
},
MessageTypeMultiplyDefined {
role: String,
msg_type: String,
},
}Variants
NoRoot
UnnamedRole
ValueNotEvaluated
InvalidJson
Fields
reason: StringNoRoleContent
Fields
role: StringNoStageDef
Fields
role: StringCustomBlockWithoutName
CustomBlockWithoutType
CustomBlockUnknownType
CustomBlockWithoutCode
ImageWithoutId
Fields
role: StringImagesWithSameId
ImageWithoutContent
ImageUnknownFormat
EntitiesWithSameName
CostumeIdFmt
CostumeUndefinedRef
CostumesWithSameName
UnnamedGlobal
Fields
role: StringGlobalNoValue
GlobalsWithSameName
UnnamedField
FieldNoValue
FieldsWithSameName
ListItemNoValue
BoolNoValue
BoolUnknownValue
UnnamedEntity
Fields
role: StringUnknownBlockMetaType
BlockWithoutType
BlockChildCount
BlockMissingOption
BlockOptionUnknown
InvalidBoolLiteral
NonConstantUpvar
FailedToParseColor
MessageTypeMissingName
Fields
role: StringMessageTypeNameEmpty
Fields
role: StringMessageTypeMissingFields
MessageTypeFieldEmpty
MessageTypeMultiplyDefined
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ProjectError
impl Send for ProjectError
impl Sync for ProjectError
impl Unpin for ProjectError
impl UnwindSafe for ProjectError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more