Enum kernel::hil::ble_advertising::RadioChannel
source · pub enum RadioChannel {
Show 40 variants
DataChannel0 = 4,
DataChannel1 = 6,
DataChannel2 = 8,
DataChannel3 = 10,
DataChannel4 = 12,
DataChannel5 = 14,
DataChannel6 = 16,
DataChannel7 = 18,
DataChannel8 = 20,
DataChannel9 = 22,
DataChannel10 = 24,
DataChannel11 = 28,
DataChannel12 = 30,
DataChannel13 = 32,
DataChannel14 = 34,
DataChannel15 = 36,
DataChannel16 = 38,
DataChannel17 = 40,
DataChannel18 = 42,
DataChannel19 = 44,
DataChannel20 = 46,
DataChannel21 = 48,
DataChannel22 = 50,
DataChannel23 = 52,
DataChannel24 = 54,
DataChannel25 = 56,
DataChannel26 = 58,
DataChannel27 = 60,
DataChannel28 = 62,
DataChannel29 = 64,
DataChannel30 = 66,
DataChannel31 = 68,
DataChannel32 = 70,
DataChannel33 = 72,
DataChannel34 = 74,
DataChannel35 = 76,
DataChannel36 = 78,
AdvertisingChannel37 = 2,
AdvertisingChannel38 = 26,
AdvertisingChannel39 = 80,
}
Variants§
DataChannel0 = 4
DataChannel1 = 6
DataChannel2 = 8
DataChannel3 = 10
DataChannel4 = 12
DataChannel5 = 14
DataChannel6 = 16
DataChannel7 = 18
DataChannel8 = 20
DataChannel9 = 22
DataChannel10 = 24
DataChannel11 = 28
DataChannel12 = 30
DataChannel13 = 32
DataChannel14 = 34
DataChannel15 = 36
DataChannel16 = 38
DataChannel17 = 40
DataChannel18 = 42
DataChannel19 = 44
DataChannel20 = 46
DataChannel21 = 48
DataChannel22 = 50
DataChannel23 = 52
DataChannel24 = 54
DataChannel25 = 56
DataChannel26 = 58
DataChannel27 = 60
DataChannel28 = 62
DataChannel29 = 64
DataChannel30 = 66
DataChannel31 = 68
DataChannel32 = 70
DataChannel33 = 72
DataChannel34 = 74
DataChannel35 = 76
DataChannel36 = 78
AdvertisingChannel37 = 2
AdvertisingChannel38 = 26
AdvertisingChannel39 = 80
Implementations§
source§impl RadioChannel
impl RadioChannel
pub fn get_channel_index(&self) -> u32
Trait Implementations§
source§impl Clone for RadioChannel
impl Clone for RadioChannel
source§fn clone(&self) -> RadioChannel
fn clone(&self) -> RadioChannel
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 RadioChannel
impl Debug for RadioChannel
source§impl PartialEq for RadioChannel
impl PartialEq for RadioChannel
source§fn eq(&self, other: &RadioChannel) -> bool
fn eq(&self, other: &RadioChannel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RadioChannel
impl StructuralPartialEq for RadioChannel
Auto Trait Implementations§
impl Freeze for RadioChannel
impl RefUnwindSafe for RadioChannel
impl Send for RadioChannel
impl Sync for RadioChannel
impl Unpin for RadioChannel
impl UnwindSafe for RadioChannel
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)