Enum recs::NotFound [] [src]

pub enum NotFound {
    Entity(EntityId),
    Component(TypeId),
}

Error type for ECS results that require a specific entity or component.

Variants

A requested entity ID was not present in the system.

A requested component was not present on an entity.

Trait Implementations

impl Debug for NotFound
[src]

Formats the value using the given formatter.

impl PartialEq for NotFound
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for NotFound
[src]