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 for ClassIndex
impl PartialEq 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 ==
.source§impl Serialize for ClassIndex
impl Serialize for ClassIndex
impl StructuralPartialEq for ClassIndex
Auto Trait Implementations§
impl Freeze for ClassIndex
impl RefUnwindSafe for ClassIndex
impl Send for ClassIndex
impl Sync for ClassIndex
impl Unpin for ClassIndex
impl UnwindSafe for ClassIndex
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more