Enum hecs::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
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 ComponentErrorimpl Send for ComponentErrorimpl Sync for ComponentErrorimpl Unpin for ComponentErrorimpl UnwindSafe for ComponentErrorBlanket Implementations
Mutably borrows from an owned value. Read more