pub struct CRfKillEvent { /* private fields */ }Expand description
Struct needed to be sent to rfkill
this is the legacy rfkill struct the rfkill_ext is not implemented
Implementations§
Source§impl CRfKillEvent
impl CRfKillEvent
pub fn set_idx(self, idx: u32) -> Self
pub fn set_event_type(self, event_type: RfkillType) -> Self
pub fn set_op(self, op: RfkillOperations) -> Self
pub fn soft_block(self) -> Self
pub fn soft_unblock(self) -> Self
Trait Implementations§
Source§impl Clone for CRfKillEvent
impl Clone for CRfKillEvent
Source§fn clone(&self) -> CRfKillEvent
fn clone(&self) -> CRfKillEvent
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 CRfKillEvent
impl Debug for CRfKillEvent
Source§impl Default for CRfKillEvent
impl Default for CRfKillEvent
Source§fn default() -> CRfKillEvent
fn default() -> CRfKillEvent
Returns the “default value” for a type. Read more
Source§impl TryFrom<CRfKillEvent> for RfKillEvent
impl TryFrom<CRfKillEvent> for RfKillEvent
impl Copy for CRfKillEvent
Auto Trait Implementations§
impl Freeze for CRfKillEvent
impl RefUnwindSafe for CRfKillEvent
impl Send for CRfKillEvent
impl Sync for CRfKillEvent
impl Unpin for CRfKillEvent
impl UnwindSafe for CRfKillEvent
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