pub struct PinNumber(/* private fields */);Expand description
A one-based package or component pin number.
Implementations§
Trait Implementations§
Source§impl From<NonZero<u32>> for PinNumber
impl From<NonZero<u32>> for PinNumber
Source§fn from(value: NonZeroU32) -> Self
fn from(value: NonZeroU32) -> Self
Converts to this type from the input type.
Source§impl From<PinNumber> for PinIdentifier
impl From<PinNumber> for PinIdentifier
Source§impl Ord for PinNumber
impl Ord for PinNumber
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 PartialOrd for PinNumber
impl PartialOrd for PinNumber
impl Copy for PinNumber
impl Eq for PinNumber
impl StructuralPartialEq for PinNumber
Auto Trait Implementations§
impl Freeze for PinNumber
impl RefUnwindSafe for PinNumber
impl Send for PinNumber
impl Sync for PinNumber
impl Unpin for PinNumber
impl UnsafeUnpin for PinNumber
impl UnwindSafe for PinNumber
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