pub struct LineConfigId(pub u32);Expand description
Config-time numeric identifier for a LineConfig.
Unique within the config. Resolve via
Simulation::line_entity.
Mirrors ElevatorConfigId’s pattern; same RON-compat note applies.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for LineConfigId
impl Clone for LineConfigId
Source§fn clone(&self) -> LineConfigId
fn clone(&self) -> LineConfigId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LineConfigId
impl Debug for LineConfigId
Source§impl Default for LineConfigId
impl Default for LineConfigId
Source§fn default() -> LineConfigId
fn default() -> LineConfigId
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LineConfigId
impl<'de> Deserialize<'de> for LineConfigId
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
Source§impl Display for LineConfigId
impl Display for LineConfigId
Source§impl Hash for LineConfigId
impl Hash for LineConfigId
Source§impl Ord for LineConfigId
impl Ord for LineConfigId
Source§fn cmp(&self, other: &LineConfigId) -> Ordering
fn cmp(&self, other: &LineConfigId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LineConfigId
impl PartialEq for LineConfigId
Source§fn eq(&self, other: &LineConfigId) -> bool
fn eq(&self, other: &LineConfigId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for LineConfigId
impl PartialOrd for LineConfigId
Source§impl Serialize for LineConfigId
impl Serialize for LineConfigId
impl Copy for LineConfigId
impl Eq for LineConfigId
impl StructuralPartialEq for LineConfigId
Auto Trait Implementations§
impl Freeze for LineConfigId
impl RefUnwindSafe for LineConfigId
impl Send for LineConfigId
impl Sync for LineConfigId
impl Unpin for LineConfigId
impl UnsafeUnpin for LineConfigId
impl UnwindSafe for LineConfigId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.