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