#[repr(u32)]pub enum fe_code_rate {
Show 15 variants
FEC_NONE = 0,
FEC_1_2 = 1,
FEC_2_3 = 2,
FEC_3_4 = 3,
FEC_4_5 = 4,
FEC_5_6 = 5,
FEC_6_7 = 6,
FEC_7_8 = 7,
FEC_8_9 = 8,
FEC_AUTO = 9,
FEC_3_5 = 10,
FEC_9_10 = 11,
FEC_2_5 = 12,
FEC_1_4 = 13,
FEC_1_3 = 14,
}
Variants§
FEC_NONE = 0
FEC_1_2 = 1
FEC_2_3 = 2
FEC_3_4 = 3
FEC_4_5 = 4
FEC_5_6 = 5
FEC_6_7 = 6
FEC_7_8 = 7
FEC_8_9 = 8
FEC_AUTO = 9
FEC_3_5 = 10
FEC_9_10 = 11
FEC_2_5 = 12
FEC_1_4 = 13
FEC_1_3 = 14
Implementations§
Source§impl fe_code_rate
impl fe_code_rate
pub const fn from_repr(discriminant: u32) -> Option<fe_code_rate>
Trait Implementations§
Source§impl Clone for fe_code_rate
impl Clone for fe_code_rate
Source§fn clone(&self) -> fe_code_rate
fn clone(&self) -> fe_code_rate
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 moreSource§impl Debug for fe_code_rate
impl Debug for fe_code_rate
Source§impl FromStr for fe_code_rate
impl FromStr for fe_code_rate
Source§impl PartialEq for fe_code_rate
impl PartialEq for fe_code_rate
Source§impl TryFrom<&str> for fe_code_rate
impl TryFrom<&str> for fe_code_rate
impl Copy for fe_code_rate
impl Eq for fe_code_rate
impl StructuralPartialEq for fe_code_rate
Auto Trait Implementations§
impl Freeze for fe_code_rate
impl RefUnwindSafe for fe_code_rate
impl Send for fe_code_rate
impl Sync for fe_code_rate
impl Unpin for fe_code_rate
impl UnwindSafe for fe_code_rate
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