#[repr(u8)]pub enum Modulationctrl {
INVALID = 0,
INTERNAL = 1,
MOD_TO_GPIO = 2,
INTERNAL_AND_MOD_TO_GPIO = 3,
}
Variants§
INVALID = 0
Invalid, defaults to same behaviour as for Internal
INTERNAL = 1
Use internal modulator only
MOD_TO_GPIO = 2
Output digital modulation signal to a GPIO pin.
INTERNAL_AND_MOD_TO_GPIO = 3
Use internal modulator and output digital modulation signal to a GPIO pin.
Implementations§
Trait Implementations§
Source§impl Clone for Modulationctrl
impl Clone for Modulationctrl
Source§fn clone(&self) -> Modulationctrl
fn clone(&self) -> Modulationctrl
Returns a copy 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 From<Modulationctrl> for u8
impl From<Modulationctrl> for u8
Source§fn from(val: Modulationctrl) -> u8
fn from(val: Modulationctrl) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Modulationctrl
impl From<u8> for Modulationctrl
Source§fn from(val: u8) -> Modulationctrl
fn from(val: u8) -> Modulationctrl
Converts to this type from the input type.
Source§impl Ord for Modulationctrl
impl Ord for Modulationctrl
Source§fn cmp(&self, other: &Modulationctrl) -> Ordering
fn cmp(&self, other: &Modulationctrl) -> Ordering
1.21.0 · 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
Source§impl PartialEq for Modulationctrl
impl PartialEq for Modulationctrl
Source§impl PartialOrd for Modulationctrl
impl PartialOrd for Modulationctrl
impl Copy for Modulationctrl
impl Eq for Modulationctrl
impl StructuralPartialEq for Modulationctrl
Auto Trait Implementations§
impl Freeze for Modulationctrl
impl RefUnwindSafe for Modulationctrl
impl Send for Modulationctrl
impl Sync for Modulationctrl
impl Unpin for Modulationctrl
impl UnwindSafe for Modulationctrl
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)