#[repr(C)]pub struct BluetoothHCIEventDisconnectionCompleteResults {
pub connectionHandle: BluetoothConnectionHandle,
pub reason: BluetoothReasonCode,
}Available on crate feature
Bluetooth only.Expand description
Fields§
§connectionHandle: BluetoothConnectionHandle§reason: BluetoothReasonCodeTrait Implementations§
Source§impl Clone for BluetoothHCIEventDisconnectionCompleteResults
impl Clone for BluetoothHCIEventDisconnectionCompleteResults
Source§fn clone(&self) -> BluetoothHCIEventDisconnectionCompleteResults
fn clone(&self) -> BluetoothHCIEventDisconnectionCompleteResults
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 Encode for BluetoothHCIEventDisconnectionCompleteResults
Available on crate feature objc2 only.
impl Encode for BluetoothHCIEventDisconnectionCompleteResults
Available on crate feature
objc2 only.Source§impl PartialEq for BluetoothHCIEventDisconnectionCompleteResults
impl PartialEq for BluetoothHCIEventDisconnectionCompleteResults
Source§fn eq(&self, other: &BluetoothHCIEventDisconnectionCompleteResults) -> bool
fn eq(&self, other: &BluetoothHCIEventDisconnectionCompleteResults) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RefEncode for BluetoothHCIEventDisconnectionCompleteResults
Available on crate feature objc2 only.
impl RefEncode for BluetoothHCIEventDisconnectionCompleteResults
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 BluetoothHCIEventDisconnectionCompleteResults
impl StructuralPartialEq for BluetoothHCIEventDisconnectionCompleteResults
Auto Trait Implementations§
impl Freeze for BluetoothHCIEventDisconnectionCompleteResults
impl RefUnwindSafe for BluetoothHCIEventDisconnectionCompleteResults
impl Send for BluetoothHCIEventDisconnectionCompleteResults
impl Sync for BluetoothHCIEventDisconnectionCompleteResults
impl Unpin for BluetoothHCIEventDisconnectionCompleteResults
impl UnwindSafe for BluetoothHCIEventDisconnectionCompleteResults
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.