#[repr(C)]pub struct FrequencyOutput {
pub version: u16,
pub ten_bit_supported: u8,
pub reserved: u8,
pub frequency_hz: u32,
pub max_frequency_hz: u32,
}Expand description
Output of GET_FREQUENCY.
Fields§
§version: u16§ten_bit_supported: u81 when the controller supports 10-bit addresses.
reserved: u8§frequency_hz: u32§max_frequency_hz: u32Trait Implementations§
Source§impl Clone for FrequencyOutput
impl Clone for FrequencyOutput
Source§fn clone(&self) -> FrequencyOutput
fn clone(&self) -> FrequencyOutput
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 moreSource§impl Debug for FrequencyOutput
impl Debug for FrequencyOutput
Source§impl Default for FrequencyOutput
impl Default for FrequencyOutput
Source§fn default() -> FrequencyOutput
fn default() -> FrequencyOutput
Returns the “default value” for a type. Read more
Source§impl PartialEq for FrequencyOutput
impl PartialEq for FrequencyOutput
Source§fn eq(&self, other: &FrequencyOutput) -> bool
fn eq(&self, other: &FrequencyOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FrequencyOutput
impl Eq for FrequencyOutput
impl PlainData for FrequencyOutput
impl StructuralPartialEq for FrequencyOutput
Auto Trait Implementations§
impl Freeze for FrequencyOutput
impl RefUnwindSafe for FrequencyOutput
impl Send for FrequencyOutput
impl Sync for FrequencyOutput
impl Unpin for FrequencyOutput
impl UnsafeUnpin for FrequencyOutput
impl UnwindSafe for FrequencyOutput
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