pub struct AnyVehicleId { /* private fields */ }Expand description
A vehicle id of any kind, for listing and removing vehicles.
Implementations§
Source§impl AnyVehicleId
impl AnyVehicleId
Trait Implementations§
Source§impl Clone for AnyVehicleId
impl Clone for AnyVehicleId
impl Copy for AnyVehicleId
Source§impl Debug for AnyVehicleId
impl Debug for AnyVehicleId
impl Eq for AnyVehicleId
Source§impl<K: VehicleKind> From<VehicleId<K>> for AnyVehicleId
impl<K: VehicleKind> From<VehicleId<K>> for AnyVehicleId
Source§impl Hash for AnyVehicleId
impl Hash for AnyVehicleId
Source§impl Ord for AnyVehicleId
impl Ord for AnyVehicleId
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AnyVehicleId
impl PartialEq for AnyVehicleId
Source§impl PartialOrd for AnyVehicleId
impl PartialOrd for AnyVehicleId
impl StructuralPartialEq for AnyVehicleId
Auto Trait Implementations§
impl Freeze for AnyVehicleId
impl RefUnwindSafe for AnyVehicleId
impl Send for AnyVehicleId
impl Sync for AnyVehicleId
impl Unpin for AnyVehicleId
impl UnsafeUnpin for AnyVehicleId
impl UnwindSafe for AnyVehicleId
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