Enum oxygengine_core::ecs::ComponentError [−][src]
pub enum ComponentError {
NoSuchEntity,
MissingComponent(MissingComponent),
}Expand description
Errors that arise when accessing components
Variants
The entity was already despawned
MissingComponent(MissingComponent)The entity did not have a requested component
Tuple Fields of MissingComponent
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ComponentError
impl Send for ComponentError
impl Sync for ComponentError
impl Unpin for ComponentError
impl UnwindSafe for ComponentError
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.