pub struct BluetoothAdapter {
pub path: Path<'static>,
pub alias: String,
pub powered: bool,
pub discoverable: bool,
pub pairable: bool,
}
Fields§
§path: Path<'static>
§alias: String
§powered: bool
§discoverable: bool
§pairable: bool
Trait Implementations§
source§impl Append for BluetoothAdapter
impl Append for BluetoothAdapter
source§fn append_by_ref(&self, iter: &mut IterAppend<'_>)
fn append_by_ref(&self, iter: &mut IterAppend<'_>)
Performs the append operation by borrowing self.
source§fn append(self, ia: &mut IterAppend<'_>)where
Self: Sized,
fn append(self, ia: &mut IterAppend<'_>)where
Self: Sized,
Performs the append operation by consuming self.
source§impl Arg for BluetoothAdapter
impl Arg for BluetoothAdapter
source§impl Clone for BluetoothAdapter
impl Clone for BluetoothAdapter
source§fn clone(&self) -> BluetoothAdapter
fn clone(&self) -> BluetoothAdapter
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 moresource§impl Debug for BluetoothAdapter
impl Debug for BluetoothAdapter
source§impl Default for BluetoothAdapter
impl Default for BluetoothAdapter
source§fn default() -> BluetoothAdapter
fn default() -> BluetoothAdapter
Returns the “default value” for a type. Read more
source§impl<'a> Get<'a> for BluetoothAdapter
impl<'a> Get<'a> for BluetoothAdapter
source§impl RefArg for BluetoothAdapter
impl RefArg for BluetoothAdapter
source§fn signature(&self) -> Signature<'static>
fn signature(&self) -> Signature<'static>
The corresponding D-Bus type signature for this type.
source§fn append(&self, i: &mut IterAppend<'_>)
fn append(&self, i: &mut IterAppend<'_>)
Performs the append operation.
source§fn as_any(&self) -> &dyn Anywhere
Self: 'static,
fn as_any(&self) -> &dyn Anywhere
Self: 'static,
Transforms this argument to Any (which can be downcasted to read the current value). Read more
source§fn as_any_mut(&mut self) -> &mut dyn Anywhere
Self: 'static,
fn as_any_mut(&mut self) -> &mut dyn Anywhere
Self: 'static,
Transforms this argument to Any (which can be downcasted to read the current value). Read more
source§fn box_clone(&self) -> Box<dyn RefArg + 'static>
fn box_clone(&self) -> Box<dyn RefArg + 'static>
Deep clone of the RefArg, causing the result to be ’static. Read more
source§fn as_iter<'a>(
&'a self
) -> Option<Box<dyn Iterator<Item = &'a dyn RefArg> + 'a>>
fn as_iter<'a>( &'a self ) -> Option<Box<dyn Iterator<Item = &'a dyn RefArg> + 'a>>
Try to read the argument as an iterator. Read more
impl Send for BluetoothAdapter
impl Sync for BluetoothAdapter
Auto Trait Implementations§
impl Freeze for BluetoothAdapter
impl RefUnwindSafe for BluetoothAdapter
impl Unpin for BluetoothAdapter
impl UnwindSafe for BluetoothAdapter
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