pub enum EntityManifestError {
PropertyLengthMismatch {
names: usize,
defaults: usize,
},
EmptyProperties,
AlivePropertyOutOfRange {
alive_property: PropertyIndex,
property_count: usize,
},
}Expand description
Validation errors for EntityManifest.
Variants§
PropertyLengthMismatch
Property name/default vectors have different lengths.
EmptyProperties
The manifest declares no properties.
AlivePropertyOutOfRange
The alive property index points outside the property array.
Fields
§
alive_property: PropertyIndexConfigured alive property index.
Trait Implementations§
Source§impl Clone for EntityManifestError
impl Clone for EntityManifestError
Source§fn clone(&self) -> EntityManifestError
fn clone(&self) -> EntityManifestError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EntityManifestError
impl Debug for EntityManifestError
Source§impl Display for EntityManifestError
impl Display for EntityManifestError
Source§impl Error for EntityManifestError
impl Error for EntityManifestError
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 PartialEq for EntityManifestError
impl PartialEq for EntityManifestError
impl Eq for EntityManifestError
impl StructuralPartialEq for EntityManifestError
Auto Trait Implementations§
impl Freeze for EntityManifestError
impl RefUnwindSafe for EntityManifestError
impl Send for EntityManifestError
impl Sync for EntityManifestError
impl Unpin for EntityManifestError
impl UnsafeUnpin for EntityManifestError
impl UnwindSafe for EntityManifestError
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