Struct dittolive_ditto::transport::BluetoothConfig
source · [−]pub struct BluetoothConfig {
pub enabled: bool,
}
Fields
enabled: bool
Implementations
Trait Implementations
sourceimpl Clone for BluetoothConfig
impl Clone for BluetoothConfig
sourcefn clone(&self) -> BluetoothConfig
fn clone(&self) -> BluetoothConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BluetoothConfig
impl Debug for BluetoothConfig
sourceimpl Default for BluetoothConfig
impl Default for BluetoothConfig
sourcefn default() -> BluetoothConfig
fn default() -> BluetoothConfig
Returns the “default value” for a type. Read more
sourceimpl PartialEq<BluetoothConfig> for BluetoothConfig
impl PartialEq<BluetoothConfig> for BluetoothConfig
sourcefn eq(&self, other: &BluetoothConfig) -> bool
fn eq(&self, other: &BluetoothConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BluetoothConfig) -> bool
fn ne(&self, other: &BluetoothConfig) -> bool
This method tests for !=
.
impl Eq for BluetoothConfig
impl StructuralEq for BluetoothConfig
impl StructuralPartialEq for BluetoothConfig
Auto Trait Implementations
impl RefUnwindSafe for BluetoothConfig
impl Send for BluetoothConfig
impl Sync for BluetoothConfig
impl Unpin for BluetoothConfig
impl UnwindSafe for BluetoothConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ManuallyDropMut for T
impl<T> ManuallyDropMut for T
type Ret = ManuallyDrop<T>
pub fn manually_drop_mut(&'__ mut self) -> &'__ mut ManuallyDrop<T>
impl<T> To for T where
T: ?Sized,
impl<T> To for T where
T: ?Sized,
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more