#[repr(transparent)]pub struct BluetoothHCIRoles(pub c_uint);Available on crate feature
Bluetooth only.Expand description
Tuple Fields§
§0: c_uintImplementations§
Source§impl BluetoothHCIRoles
impl BluetoothHCIRoles
pub const CentralRole: Self
pub const PeripheralRole: Self
pub const MasterRole: Self
pub const SlaveRole: Self
Trait Implementations§
Source§impl Clone for BluetoothHCIRoles
impl Clone for BluetoothHCIRoles
Source§fn clone(&self) -> BluetoothHCIRoles
fn clone(&self) -> BluetoothHCIRoles
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 moreSource§impl Debug for BluetoothHCIRoles
impl Debug for BluetoothHCIRoles
Source§impl Encode for BluetoothHCIRoles
Available on crate feature objc2 only.
impl Encode for BluetoothHCIRoles
Available on crate feature
objc2 only.Source§impl Hash for BluetoothHCIRoles
impl Hash for BluetoothHCIRoles
Source§impl Ord for BluetoothHCIRoles
impl Ord for BluetoothHCIRoles
Source§fn cmp(&self, other: &BluetoothHCIRoles) -> Ordering
fn cmp(&self, other: &BluetoothHCIRoles) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BluetoothHCIRoles
impl PartialEq for BluetoothHCIRoles
Source§impl PartialOrd for BluetoothHCIRoles
impl PartialOrd for BluetoothHCIRoles
Source§impl RefEncode for BluetoothHCIRoles
Available on crate feature objc2 only.
impl RefEncode for BluetoothHCIRoles
Available on crate feature
objc2 only.Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for BluetoothHCIRoles
impl Eq for BluetoothHCIRoles
impl StructuralPartialEq for BluetoothHCIRoles
Auto Trait Implementations§
impl Freeze for BluetoothHCIRoles
impl RefUnwindSafe for BluetoothHCIRoles
impl Send for BluetoothHCIRoles
impl Sync for BluetoothHCIRoles
impl Unpin for BluetoothHCIRoles
impl UnwindSafe for BluetoothHCIRoles
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§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.