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

Should be equivalent to Replay::objects(self.index)

The index that the object appears in the Replay::objects

Trait Implementations

impl<'a> PartialEq for ClassIndex<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> Debug for ClassIndex<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> Clone for ClassIndex<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<'a> Send for ClassIndex<'a>

impl<'a> Sync for ClassIndex<'a>