pub struct LineInstance(pub u32);Expand description
A line or button instance on a station.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
Source§impl Clone for LineInstance
impl Clone for LineInstance
Source§fn clone(&self) -> LineInstance
fn clone(&self) -> LineInstance
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 moreimpl Copy for LineInstance
Source§impl Debug for LineInstance
impl Debug for LineInstance
Source§impl Default for LineInstance
impl Default for LineInstance
Source§fn default() -> LineInstance
fn default() -> LineInstance
Returns the “default value” for a type. Read more
Source§impl Display for LineInstance
impl Display for LineInstance
impl Eq for LineInstance
Source§impl From<LineInstance> for u32
impl From<LineInstance> for u32
Source§fn from(value: LineInstance) -> Self
fn from(value: LineInstance) -> Self
Converts to this type from the input type.
Source§impl From<u32> for LineInstance
impl From<u32> for LineInstance
Source§impl Hash for LineInstance
impl Hash for LineInstance
Source§impl Ord for LineInstance
impl Ord for LineInstance
Source§fn cmp(&self, other: &LineInstance) -> Ordering
fn cmp(&self, other: &LineInstance) -> 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 LineInstance
impl PartialEq for LineInstance
Source§impl PartialOrd for LineInstance
impl PartialOrd for LineInstance
impl StructuralPartialEq for LineInstance
Auto Trait Implementations§
impl Freeze for LineInstance
impl RefUnwindSafe for LineInstance
impl Send for LineInstance
impl Sync for LineInstance
impl Unpin for LineInstance
impl UnsafeUnpin for LineInstance
impl UnwindSafe for LineInstance
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