pub struct BTConfig {
pub enabled: bool,
pub rfkill_path: Option<PathBuf>,
}Expand description
Bluetooth (BT) toggling configuration
Fields§
§enabled: bool§rfkill_path: Option<PathBuf>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BTConfig
impl RefUnwindSafe for BTConfig
impl Send for BTConfig
impl Sync for BTConfig
impl Unpin for BTConfig
impl UnwindSafe for BTConfig
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)