Struct ncollide2d::utils::GenerationalId [] [src]

pub struct GenerationalId {
    pub id: usize,
    // some fields omitted
}

A unique idetifier given by a usize id and a generation number.

Fields

The identifier.

Methods

impl GenerationalId
[src]

[src]

An identifier that cannot be constructed by IdAlloc and that is not equal to any other identifier.

[src]

Checks if this identifier is invalid.

Trait Implementations

impl Copy for GenerationalId
[src]

impl Clone for GenerationalId
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for GenerationalId
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for GenerationalId
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for GenerationalId
[src]

impl Hash for GenerationalId
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations