pub struct PartId(pub u16);Expand description
Identifier of a device instance in a [Board].
Tuple Fields§
§0: u16Trait Implementations§
impl Copy for PartId
impl Eq for PartId
Source§impl Ord for PartId
impl Ord for PartId
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 PartId
impl PartialOrd for PartId
impl StructuralPartialEq for PartId
Auto Trait Implementations§
impl Forget for PartId
impl Freeze for PartId
impl Move for PartId
impl RefUnwindSafe for PartId
impl Send for PartId
impl Sync for PartId
impl Unpin for PartId
impl UnsafeUnpin for PartId
impl UnwindSafe for PartId
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