Struct BluetoothMajorClass
#[repr(transparent)]pub struct BluetoothMajorClass(pub i32);Tuple Fields§
§0: i32Implementations§
§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 duplicate 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
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