Struct ami::Id [−][src]
pub struct Id(_);
A 32-bit index value.
Trait Implementations
impl Debug for Id[src]
impl Debug for Idfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for Id[src]
impl PartialEq for Idfn eq(&self, other: &Id) -> bool[src]
fn eq(&self, other: &Id) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Id) -> bool[src]
fn ne(&self, other: &Id) -> boolThis method tests for !=.
impl Eq for Id[src]
impl Eq for Idimpl Copy for Id[src]
impl Copy for Idimpl Clone for Id[src]
impl Clone for Idfn clone(&self) -> Id[src]
fn clone(&self) -> IdReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Into<Id> for usize[src]
impl Into<Id> for usizeimpl Into<usize> for Id[src]
impl Into<usize> for Idimpl<T> Index<Id> for Octree<T> where
T: Collider, [src]
impl<T> Index<Id> for Octree<T> where
T: Collider, type Output = T
The returned type after indexing.
fn index<'a>(&'a self, index: Id) -> &'a T[src]
fn index<'a>(&'a self, index: Id) -> &'a TPerforms the indexing (container[index]) operation.
impl<T> IndexMut<Id> for Octree<T> where
T: Collider, [src]
impl<T> IndexMut<Id> for Octree<T> where
T: Collider,