pub struct ProgramNumber(/* private fields */);Expand description
A program slot within a bank, 0 through 127.
Implementations§
Trait Implementations§
Source§impl Clone for ProgramNumber
impl Clone for ProgramNumber
impl Copy for ProgramNumber
Source§impl Debug for ProgramNumber
impl Debug for ProgramNumber
Source§impl<'de> Deserialize<'de> for ProgramNumber
Available on crate feature serde only.
impl<'de> Deserialize<'de> for ProgramNumber
Available on crate feature
serde only.Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ProgramNumber
impl Display for ProgramNumber
impl Eq for ProgramNumber
Source§impl From<ProgramNumber> for u8
impl From<ProgramNumber> for u8
Source§fn from(number: ProgramNumber) -> Self
fn from(number: ProgramNumber) -> Self
Converts to this type from the input type.
Source§impl Hash for ProgramNumber
impl Hash for ProgramNumber
Source§impl Ord for ProgramNumber
impl Ord for ProgramNumber
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 ProgramNumber
impl PartialEq for ProgramNumber
Source§impl PartialOrd for ProgramNumber
impl PartialOrd for ProgramNumber
Source§impl Serialize for ProgramNumber
Available on crate feature serde only.
impl Serialize for ProgramNumber
Available on crate feature
serde only.impl StructuralPartialEq for ProgramNumber
Auto Trait Implementations§
impl Forget for ProgramNumber
impl Freeze for ProgramNumber
impl Move for ProgramNumber
impl RefUnwindSafe for ProgramNumber
impl Send for ProgramNumber
impl Sync for ProgramNumber
impl Unpin for ProgramNumber
impl UnsafeUnpin for ProgramNumber
impl UnwindSafe for ProgramNumber
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