pub enum ModemPreset {
ShortFast,
MediumFast,
LongFast,
LongSlow,
}Variants§
Implementations§
Source§impl ModemPreset
impl ModemPreset
pub const ALL: [ModemPreset; 4]
pub const fn modulation(self) -> Modulation
pub const fn label(self) -> &'static str
pub fn matching(modulation: Modulation) -> Option<ModemPreset>
Trait Implementations§
Source§impl Clone for ModemPreset
impl Clone for ModemPreset
Source§fn clone(&self) -> ModemPreset
fn clone(&self) -> ModemPreset
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 ModemPreset
Source§impl Debug for ModemPreset
impl Debug for ModemPreset
impl Eq for ModemPreset
Source§impl PartialEq for ModemPreset
impl PartialEq for ModemPreset
impl StructuralPartialEq for ModemPreset
Auto Trait Implementations§
impl Freeze for ModemPreset
impl RefUnwindSafe for ModemPreset
impl Send for ModemPreset
impl Sync for ModemPreset
impl Unpin for ModemPreset
impl UnsafeUnpin for ModemPreset
impl UnwindSafe for ModemPreset
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