Enum Numhstchnl
#[repr(u8)]pub enum Numhstchnl {
Show 16 variants
HOSTCH0 = 0,
HOSTCH1 = 1,
HOSTCH2 = 2,
HOSTCH3 = 3,
HOSTCH4 = 4,
HOSTCH5 = 5,
HOSTCH6 = 6,
HOSTCH7 = 7,
HOSTCH8 = 8,
HOSTCH9 = 9,
HOSTCH10 = 10,
HOSTCH11 = 11,
HOSTCH12 = 12,
HOSTCH13 = 13,
HOSTCH14 = 14,
HOSTCH15 = 15,
}Variants§
HOSTCH0 = 0
Host Channel 1
HOSTCH1 = 1
Host Channel 2
HOSTCH2 = 2
Host Channel 3
HOSTCH3 = 3
Host Channel 4
HOSTCH4 = 4
Host Channel 5
HOSTCH5 = 5
Host Channel 6
HOSTCH6 = 6
Host Channel 7
HOSTCH7 = 7
Host Channel 8
HOSTCH8 = 8
Host Channel 9
HOSTCH9 = 9
Host Channel 10
HOSTCH10 = 10
Host Channel 11
HOSTCH11 = 11
Host Channel 12
HOSTCH12 = 12
Host Channel 13
HOSTCH13 = 13
Host Channel 14
HOSTCH14 = 14
Host Channel 15
HOSTCH15 = 15
Host Channel 16
Implementations§
§impl Numhstchnl
impl Numhstchnl
pub const fn from_bits(val: u8) -> Numhstchnl
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Numhstchnl
impl Clone for Numhstchnl
§fn clone(&self) -> Numhstchnl
fn clone(&self) -> Numhstchnl
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for Numhstchnl
impl Debug for Numhstchnl
§impl From<u8> for Numhstchnl
impl From<u8> for Numhstchnl
§fn from(val: u8) -> Numhstchnl
fn from(val: u8) -> Numhstchnl
Converts to this type from the input type.
§impl Ord for Numhstchnl
impl Ord for Numhstchnl
§impl PartialEq for Numhstchnl
impl PartialEq for Numhstchnl
§impl PartialOrd for Numhstchnl
impl PartialOrd for Numhstchnl
impl Copy for Numhstchnl
impl Eq for Numhstchnl
impl StructuralPartialEq for Numhstchnl
Auto Trait Implementations§
impl Freeze for Numhstchnl
impl RefUnwindSafe for Numhstchnl
impl Send for Numhstchnl
impl Sync for Numhstchnl
impl Unpin for Numhstchnl
impl UnwindSafe for Numhstchnl
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
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
Source§fn lossless_try_into(self) -> Option<Dst>
fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.
Source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
Source§fn lossy_into(self) -> Dst
fn lossy_into(self) -> Dst
Performs the conversion.
Source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
Source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
Source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
Source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
Source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
Source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
Source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
Source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
Source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
Source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.