Struct windows::Devices::Bluetooth::BluetoothMajorClass
#[repr(transparent)]pub struct BluetoothMajorClass(pub i32);
Tuple Fields§
§0: i32
Implementations§
§impl BluetoothMajorClass
impl BluetoothMajorClass
pub const Miscellaneous: Self = _
pub const Computer: Self = _
pub const Phone: Self = _
pub const NetworkAccessPoint: Self = _
pub const AudioVideo: Self = _
pub const Peripheral: Self = _
pub const Imaging: Self = _
pub const Wearable: Self = _
pub const Toy: Self = _
pub const Health: Self = _
Trait Implementations§
§impl Clone for BluetoothMajorClass
impl Clone for BluetoothMajorClass
§fn clone(&self) -> BluetoothMajorClass
fn clone(&self) -> BluetoothMajorClass
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 BluetoothMajorClass
impl Debug for BluetoothMajorClass
§impl Default for BluetoothMajorClass
impl Default for BluetoothMajorClass
§fn default() -> BluetoothMajorClass
fn default() -> BluetoothMajorClass
Returns the “default value” for a type. Read more
§impl PartialEq for BluetoothMajorClass
impl PartialEq for BluetoothMajorClass
§fn eq(&self, other: &BluetoothMajorClass) -> bool
fn eq(&self, other: &BluetoothMajorClass) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BluetoothMajorClass
impl Eq for BluetoothMajorClass
impl StructuralPartialEq for BluetoothMajorClass
Auto Trait Implementations§
impl Freeze for BluetoothMajorClass
impl RefUnwindSafe for BluetoothMajorClass
impl Send for BluetoothMajorClass
impl Sync for BluetoothMajorClass
impl Unpin for BluetoothMajorClass
impl UnwindSafe for BluetoothMajorClass
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
)