pub struct LineSnapshotInfo {
pub entity_index: usize,
pub elevator_indices: Vec<usize>,
pub stop_indices: Vec<usize>,
}Expand description
Per-line snapshot info within a group.
Fields§
§entity_index: usizeIndex into the entities vec for the line entity.
elevator_indices: Vec<usize>Indices into the entities vec for elevators on this line.
stop_indices: Vec<usize>Indices into the entities vec for stops served by this line.
Trait Implementations§
Source§impl Clone for LineSnapshotInfo
impl Clone for LineSnapshotInfo
Source§fn clone(&self) -> LineSnapshotInfo
fn clone(&self) -> LineSnapshotInfo
Returns a duplicate 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 LineSnapshotInfo
impl Debug for LineSnapshotInfo
Source§impl<'de> Deserialize<'de> for LineSnapshotInfo
impl<'de> Deserialize<'de> for LineSnapshotInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LineSnapshotInfo
impl RefUnwindSafe for LineSnapshotInfo
impl Send for LineSnapshotInfo
impl Sync for LineSnapshotInfo
impl Unpin for LineSnapshotInfo
impl UnsafeUnpin for LineSnapshotInfo
impl UnwindSafe for LineSnapshotInfo
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