#[repr(u8)]pub enum FrequencySource {
UseL1CurrentData = 0,
UseIndividualAddressing = 1,
ManualPerModulator = 2,
}Expand description
Frequency source per §5.2.4 Table 2.
Variants§
UseL1CurrentData = 0
Use L1-current data field.
UseIndividualAddressing = 1
Use individual addressing frequency function.
ManualPerModulator = 2
Manually set per modulator.
Trait Implementations§
Source§impl Clone for FrequencySource
impl Clone for FrequencySource
Source§fn clone(&self) -> FrequencySource
fn clone(&self) -> FrequencySource
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 FrequencySource
Source§impl Debug for FrequencySource
impl Debug for FrequencySource
Source§impl<'de> Deserialize<'de> for FrequencySource
impl<'de> Deserialize<'de> for FrequencySource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FrequencySource
Source§impl From<FrequencySource> for u8
impl From<FrequencySource> for u8
Source§fn from(fs: FrequencySource) -> Self
fn from(fs: FrequencySource) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FrequencySource
impl PartialEq for FrequencySource
Source§fn eq(&self, other: &FrequencySource) -> bool
fn eq(&self, other: &FrequencySource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FrequencySource
impl Serialize for FrequencySource
impl StructuralPartialEq for FrequencySource
Source§impl TryFrom<u8> for FrequencySource
impl TryFrom<u8> for FrequencySource
Source§type Error = TryFromPrimitiveError<FrequencySource>
type Error = TryFromPrimitiveError<FrequencySource>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for FrequencySource
impl TryFromPrimitive for FrequencySource
const NAME: &'static str = "FrequencySource"
type Primitive = u8
type Error = TryFromPrimitiveError<FrequencySource>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for FrequencySource
impl RefUnwindSafe for FrequencySource
impl Send for FrequencySource
impl Sync for FrequencySource
impl Unpin for FrequencySource
impl UnsafeUnpin for FrequencySource
impl UnwindSafe for FrequencySource
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