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