#[repr(transparent)]pub struct BluetoothLEAdvertisementType(pub i32);
Tuple Fields§
§0: i32
Implementations§
§impl BluetoothLEAdvertisementType
impl BluetoothLEAdvertisementType
pub const ConnectableUndirected: Self = _
pub const ConnectableDirected: Self = _
pub const ScannableUndirected: Self = _
pub const NonConnectableUndirected: Self = _
pub const ScanResponse: Self = _
pub const Extended: Self = _
Trait Implementations§
§impl Clone for BluetoothLEAdvertisementType
impl Clone for BluetoothLEAdvertisementType
§fn clone(&self) -> BluetoothLEAdvertisementType
fn clone(&self) -> BluetoothLEAdvertisementType
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 more§impl Debug for BluetoothLEAdvertisementType
impl Debug for BluetoothLEAdvertisementType
§impl Default for BluetoothLEAdvertisementType
impl Default for BluetoothLEAdvertisementType
§fn default() -> BluetoothLEAdvertisementType
fn default() -> BluetoothLEAdvertisementType
Returns the “default value” for a type. Read more
§impl PartialEq for BluetoothLEAdvertisementType
impl PartialEq for BluetoothLEAdvertisementType
§fn eq(&self, other: &BluetoothLEAdvertisementType) -> bool
fn eq(&self, other: &BluetoothLEAdvertisementType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BluetoothLEAdvertisementType
impl Eq for BluetoothLEAdvertisementType
impl StructuralPartialEq for BluetoothLEAdvertisementType
Auto Trait Implementations§
impl Freeze for BluetoothLEAdvertisementType
impl RefUnwindSafe for BluetoothLEAdvertisementType
impl Send for BluetoothLEAdvertisementType
impl Sync for BluetoothLEAdvertisementType
impl Unpin for BluetoothLEAdvertisementType
impl UnwindSafe for BluetoothLEAdvertisementType
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
)