Struct ami::Id [−][src]
pub struct Id(_);
A 32-bit index value.
Trait Implementations
impl Debug for Id
[src]
impl Debug for Id
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Id
[src]
impl PartialEq for Id
fn eq(&self, other: &Id) -> bool
[src]
fn eq(&self, other: &Id) -> bool
This 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) -> bool
This method tests for !=
.
impl Eq for Id
[src]
impl Eq for Id
impl Copy for Id
[src]
impl Copy for Id
impl Clone for Id
[src]
impl Clone for Id
fn clone(&self) -> Id
[src]
fn clone(&self) -> Id
Returns 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 usize
impl Into<usize> for Id
[src]
impl Into<usize> for Id
impl<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 T
Performs 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,