pub enum ArchetypeError {
ColumnAlreadyUniquelyAccessed {
type_hash: TypeHash,
},
ColumnNotFound {
type_hash: TypeHash,
},
ColumnTypeIsDuplicated {
type_hash: TypeHash,
index: usize,
duplicate_index: usize,
},
ColumnTypeMismatch {
provided: TypeHash,
expected: TypeHash,
},
IndexNotFound {
index: usize,
},
IndexAlreadyOccupied {
index: usize,
},
EntityNotFound {
entity: Entity,
},
EntityAlreadyOccupied {
entity: Entity,
},
ColumnSdirLocked {
type_hash: TypeHash,
},
}Variants§
ColumnAlreadyUniquelyAccessed
ColumnNotFound
ColumnTypeIsDuplicated
ColumnTypeMismatch
IndexNotFound
IndexAlreadyOccupied
EntityNotFound
EntityAlreadyOccupied
ColumnSdirLocked
Trait Implementations§
Source§impl Debug for ArchetypeError
impl Debug for ArchetypeError
Source§impl Display for ArchetypeError
impl Display for ArchetypeError
Source§impl Error for ArchetypeError
impl Error for ArchetypeError
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 PrefabError
impl From<ArchetypeError> for PrefabError
Source§fn from(value: ArchetypeError) -> Self
fn from(value: ArchetypeError) -> Self
Converts to this type from the input type.
Source§impl From<ArchetypeError> for QueryError
impl From<ArchetypeError> for QueryError
Source§fn from(value: ArchetypeError) -> Self
fn from(value: ArchetypeError) -> Self
Converts to this type from the input type.
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.
Source§impl PartialEq for ArchetypeError
impl PartialEq for ArchetypeError
impl Eq for ArchetypeError
impl StructuralPartialEq for ArchetypeError
Auto Trait Implementations§
impl Freeze for ArchetypeError
impl RefUnwindSafe for ArchetypeError
impl Send for ArchetypeError
impl Sync for ArchetypeError
impl Unpin for ArchetypeError
impl UnwindSafe for ArchetypeError
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.