Struct amethyst::ecs::error::WrongGeneration[]

pub struct WrongGeneration {
    pub action: &'static str,
    pub actual_gen: Generation,
    pub entity: Entity,
}

Wrong generation error.

Fields

The action that failed because of the wrong generation.

The actual generation of this id.

The entity that has been passed, containing the id and the invalid generation.

Trait Implementations

impl PartialEq<WrongGeneration> for WrongGeneration

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

This method tests for !=.

impl Error for WrongGeneration

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl From<WrongGeneration> for Error

Performs the conversion.

impl Display for WrongGeneration

Formats the value using the given formatter. Read more

impl Eq for WrongGeneration

impl Debug for WrongGeneration

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for WrongGeneration

impl Sync for WrongGeneration