Enum stm32wlxx_hal::subghz::PreambleDetection
source · #[repr(u8)]pub enum PreambleDetection {
Disabled = 0,
Bit8 = 4,
Bit16 = 5,
Bit24 = 6,
Bit32 = 7,
}
Expand description
Preamble detection length for GenericPacketParams
.
Variants§
Disabled = 0
Preamble detection disabled.
Bit8 = 4
8-bit preamble detection.
Bit16 = 5
16-bit preamble detection.
Bit24 = 6
24-bit preamble detection.
Bit32 = 7
32-bit preamble detection.
Trait Implementations§
source§impl Clone for PreambleDetection
impl Clone for PreambleDetection
source§fn clone(&self) -> PreambleDetection
fn clone(&self) -> PreambleDetection
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 PreambleDetection
impl Debug for PreambleDetection
source§impl Ord for PreambleDetection
impl Ord for PreambleDetection
source§fn cmp(&self, other: &PreambleDetection) -> Ordering
fn cmp(&self, other: &PreambleDetection) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PreambleDetection
impl PartialEq for PreambleDetection
source§fn eq(&self, other: &PreambleDetection) -> bool
fn eq(&self, other: &PreambleDetection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PreambleDetection
impl PartialOrd for PreambleDetection
source§fn partial_cmp(&self, other: &PreambleDetection) -> Option<Ordering>
fn partial_cmp(&self, other: &PreambleDetection) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for PreambleDetection
impl Eq for PreambleDetection
impl StructuralEq for PreambleDetection
impl StructuralPartialEq for PreambleDetection
Auto Trait Implementations§
impl RefUnwindSafe for PreambleDetection
impl Send for PreambleDetection
impl Sync for PreambleDetection
impl Unpin for PreambleDetection
impl UnwindSafe for PreambleDetection
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