pub struct RadioSettings {
pub enabled: bool,
pub freq_khz: u32,
pub bw_hz: u32,
pub sf: u8,
pub cr_denom: u8,
pub tx_power_dbm: i8,
}Expand description
Radio configuration owned by the session and pushed to the radio
via Effect::ApplyRadio.
Fields§
§enabled: bool§freq_khz: u32§bw_hz: u32§sf: u8§cr_denom: u8§tx_power_dbm: i8Trait Implementations§
Source§impl Clone for RadioSettings
impl Clone for RadioSettings
Source§fn clone(&self) -> RadioSettings
fn clone(&self) -> RadioSettings
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RadioSettings
impl Debug for RadioSettings
Source§impl PartialEq for RadioSettings
impl PartialEq for RadioSettings
impl Copy for RadioSettings
impl Eq for RadioSettings
impl StructuralPartialEq for RadioSettings
Auto Trait Implementations§
impl Freeze for RadioSettings
impl RefUnwindSafe for RadioSettings
impl Send for RadioSettings
impl Sync for RadioSettings
impl Unpin for RadioSettings
impl UnwindSafe for RadioSettings
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)