pub enum WorldError {
Archetype(ArchetypeError),
ReachedEntityIdCapacity,
ReachedArchetypeIdCapacity,
EntityDoesNotExists {
entity: Entity,
},
ArchetypeDoesNotExists {
id: u32,
},
DuplicateMutableArchetypeAccess {
id: u32,
},
EmptyColumnSet,
}Variants§
Archetype(ArchetypeError)
ReachedEntityIdCapacity
ReachedArchetypeIdCapacity
EntityDoesNotExists
ArchetypeDoesNotExists
DuplicateMutableArchetypeAccess
EmptyColumnSet
Trait Implementations§
source§impl Debug for WorldError
impl Debug for WorldError
source§impl Display for WorldError
impl Display for WorldError
source§impl Error for WorldError
impl Error for WorldError
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<ArchetypeError> for WorldError
impl From<ArchetypeError> for WorldError
source§fn from(value: ArchetypeError) -> Self
fn from(value: ArchetypeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WorldError
impl RefUnwindSafe for WorldError
impl Send for WorldError
impl Sync for WorldError
impl Unpin for WorldError
impl UnwindSafe for WorldError
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