Struct boxcars::ClassIndex
[−]
[src]
pub struct ClassIndex<'a> { pub class: &'a str, pub index: i32, }
A mapping between an object's name and its index. Largely redundant
Fields
class: &'a str
Should be equivalent to Replay::objects(self.index)
index: i32
The index that the object appears in the Replay::objects
Trait Implementations
impl<'a> PartialEq for ClassIndex<'a>
[src]
fn eq(&self, __arg_0: &ClassIndex<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ClassIndex<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> Debug for ClassIndex<'a>
[src]
impl<'a> Clone for ClassIndex<'a>
[src]
fn clone(&self) -> ClassIndex<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more