#[non_exhaustive]pub enum ShCodeRate {
Show 13 variants
Rate1_5Standard,
Rate2_9Standard,
Rate1_4Standard,
Rate2_7Standard,
Rate1_3Standard,
Rate1_3Complementary,
Rate2_5Standard,
Rate2_5Complementary,
Rate1_2Standard,
Rate1_2Complementary,
Rate2_3Standard,
Rate2_3Complementary,
Reserved(u8),
}Expand description
Code rate for SH — ETSI EN 300 468 Table 126 (4 bits).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Rate1_5Standard
1/5 standard.
Rate2_9Standard
2/9 standard.
Rate1_4Standard
1/4 standard.
Rate2_7Standard
2/7 standard.
Rate1_3Standard
1/3 standard.
Rate1_3Complementary
1/3 complementary.
Rate2_5Standard
2/5 standard.
Rate2_5Complementary
2/5 complementary.
Rate1_2Standard
1/2 standard.
Rate1_2Complementary
1/2 complementary.
Rate2_3Standard
2/3 standard.
Rate2_3Complementary
2/3 complementary.
Reserved(u8)
Reserved / future use.
Implementations§
Source§impl ShCodeRate
impl ShCodeRate
Trait Implementations§
Source§impl Clone for ShCodeRate
impl Clone for ShCodeRate
Source§fn clone(&self) -> ShCodeRate
fn clone(&self) -> ShCodeRate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ShCodeRate
Source§impl Debug for ShCodeRate
impl Debug for ShCodeRate
impl Eq for ShCodeRate
Source§impl PartialEq for ShCodeRate
impl PartialEq for ShCodeRate
Source§fn eq(&self, other: &ShCodeRate) -> bool
fn eq(&self, other: &ShCodeRate) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ShCodeRate
impl Serialize for ShCodeRate
impl StructuralPartialEq for ShCodeRate
Auto Trait Implementations§
impl Freeze for ShCodeRate
impl RefUnwindSafe for ShCodeRate
impl Send for ShCodeRate
impl Sync for ShCodeRate
impl Unpin for ShCodeRate
impl UnsafeUnpin for ShCodeRate
impl UnwindSafe for ShCodeRate
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