pub struct BayUid {
pub device: DeviceUid,
pub port: u16,
}Expand description
Identifies a single bay (port) by its owning device and port number.
Fields§
§device: DeviceUidThe device the bay belongs to.
port: u16The bay’s port number on that device.
Implementations§
Trait Implementations§
impl Copy for BayUid
impl Eq for BayUid
Source§impl Ord for BayUid
impl Ord for BayUid
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 PartialOrd for BayUid
impl PartialOrd for BayUid
impl StructuralPartialEq for BayUid
Auto Trait Implementations§
impl Freeze for BayUid
impl RefUnwindSafe for BayUid
impl Send for BayUid
impl Sync for BayUid
impl Unpin for BayUid
impl UnsafeUnpin for BayUid
impl UnwindSafe for BayUid
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