Struct oxygengine_core::ecs::error::WrongGeneration [−][src]
pub struct WrongGeneration {
pub action: &'static str,
pub actual_gen: Generation,
pub entity: Entity,
}Expand description
Wrong generation error.
Fields
action: &'static strThe action that failed because of the wrong generation.
actual_gen: GenerationThe actual generation of this id.
entity: EntityThe entity that has been passed, containing the id and the invalid generation.
Trait Implementations
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 WrongGenerationimpl Send for WrongGenerationimpl Sync for WrongGenerationimpl Unpin for WrongGenerationimpl UnwindSafe for WrongGenerationBlanket Implementations
impl<T> Any for T where
T: Any,
impl<T> Any for T where
T: Any, pub fn get_type_id(&self) -> TypeIdMutably borrows from an owned value. Read more