#[repr(transparent)]pub struct BluetoothLEAdvertisementType(pub i32);
Expand description
Required features: "Devices_Bluetooth_Advertisement"
Tuple Fields
0: i32
Implementations
impl BluetoothLEAdvertisementType
impl BluetoothLEAdvertisementType
pub const ConnectableUndirected: Self = Self(0i32)
pub const ConnectableDirected: Self = Self(1i32)
pub const ScannableUndirected: Self = Self(2i32)
pub const NonConnectableUndirected: Self = Self(3i32)
pub const ScanResponse: Self = Self(4i32)
pub const Extended: Self = Self(5i32)
Trait Implementations
impl Clone for BluetoothLEAdvertisementType
impl Clone for BluetoothLEAdvertisementType
impl Copy for BluetoothLEAdvertisementType
Auto Trait Implementations
impl RefUnwindSafe for BluetoothLEAdvertisementType
impl Send for BluetoothLEAdvertisementType
impl Sync for BluetoothLEAdvertisementType
impl Unpin for BluetoothLEAdvertisementType
impl UnwindSafe for BluetoothLEAdvertisementType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more