Struct lrwn::DLSettings
source · pub struct DLSettings {
pub opt_neg: bool,
pub rx2_dr: u8,
pub rx1_dr_offset: u8,
}
Fields§
§opt_neg: bool
§rx2_dr: u8
§rx1_dr_offset: u8
Implementations§
source§impl DLSettings
impl DLSettings
pub fn from_le_bytes(b: [u8; 1]) -> Self
pub fn to_le_bytes(&self) -> Result<[u8; 1]>
Trait Implementations§
source§impl Clone for DLSettings
impl Clone for DLSettings
source§fn clone(&self) -> DLSettings
fn clone(&self) -> DLSettings
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 Debug for DLSettings
impl Debug for DLSettings
source§impl PartialEq for DLSettings
impl PartialEq for DLSettings
source§fn eq(&self, other: &DLSettings) -> bool
fn eq(&self, other: &DLSettings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DLSettings
impl Serialize for DLSettings
impl Eq for DLSettings
impl StructuralPartialEq for DLSettings
Auto Trait Implementations§
impl Freeze for DLSettings
impl RefUnwindSafe for DLSettings
impl Send for DLSettings
impl Sync for DLSettings
impl Unpin for DLSettings
impl UnwindSafe for DLSettings
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> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self
to an expression for Diesel’s query builder. Read more