Struct obj_pool::ObjId[][src]

pub struct ObjId(_);

An id of the object in an ObjPool.

It is basically just an index in the underlying vector.

Trait Implementations

impl Copy for ObjId
[src]

impl Clone for ObjId
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ObjId
[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 ObjId
[src]

impl Hash for ObjId
[src]

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

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

impl Debug for ObjId
[src]

Formats the value using the given formatter. Read more

impl<T> Index<ObjId> for ObjPool<T>
[src]

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl<T> IndexMut<ObjId> for ObjPool<T>
[src]

Performs the mutable indexing (container[index]) operation.

Auto Trait Implementations

impl Send for ObjId

impl Sync for ObjId