Struct Action
pub struct Action(/* private fields */);
Implementations§
§impl Action
impl Action
pub fn as_noaction(&self) -> SANoAction
pub fn as_setmods(&self) -> SASetMods
pub fn as_latchmods(&self) -> SASetMods
pub fn as_lockmods(&self) -> SASetMods
pub fn as_setgroup(&self) -> SASetGroup
pub fn as_latchgroup(&self) -> SASetGroup
pub fn as_lockgroup(&self) -> SASetGroup
pub fn as_moveptr(&self) -> SAMovePtr
pub fn as_ptrbtn(&self) -> SAPtrBtn
pub fn as_lockptrbtn(&self) -> SALockPtrBtn
pub fn as_setptrdflt(&self) -> SASetPtrDflt
pub fn as_isolock(&self) -> SAIsoLock
pub fn as_terminate(&self) -> SATerminate
pub fn as_switchscreen(&self) -> SASwitchScreen
pub fn as_setcontrols(&self) -> SASetControls
pub fn as_lockcontrols(&self) -> SASetControls
pub fn as_message(&self) -> SAActionMessage
pub fn as_redirect(&self) -> SARedirectKey
pub fn as_devbtn(&self) -> SADeviceBtn
pub fn as_lockdevbtn(&self) -> SALockDeviceBtn
pub fn as_devval(&self) -> SADeviceValuator
pub fn as_type(&self) -> SAType
Trait Implementations§
§impl From<SAActionMessage> for Action
impl From<SAActionMessage> for Action
§fn from(message: SAActionMessage) -> Action
fn from(message: SAActionMessage) -> Action
Converts to this type from the input type.
§impl From<SADeviceBtn> for Action
impl From<SADeviceBtn> for Action
§fn from(devbtn: SADeviceBtn) -> Action
fn from(devbtn: SADeviceBtn) -> Action
Converts to this type from the input type.
§impl From<SADeviceValuator> for Action
impl From<SADeviceValuator> for Action
§fn from(devval: SADeviceValuator) -> Action
fn from(devval: SADeviceValuator) -> Action
Converts to this type from the input type.
§impl From<SALockDeviceBtn> for Action
impl From<SALockDeviceBtn> for Action
§fn from(lockdevbtn: SALockDeviceBtn) -> Action
fn from(lockdevbtn: SALockDeviceBtn) -> Action
Converts to this type from the input type.
§impl From<SALockPtrBtn> for Action
impl From<SALockPtrBtn> for Action
§fn from(lockptrbtn: SALockPtrBtn) -> Action
fn from(lockptrbtn: SALockPtrBtn) -> Action
Converts to this type from the input type.
§impl From<SANoAction> for Action
impl From<SANoAction> for Action
§fn from(noaction: SANoAction) -> Action
fn from(noaction: SANoAction) -> Action
Converts to this type from the input type.
§impl From<SARedirectKey> for Action
impl From<SARedirectKey> for Action
§fn from(redirect: SARedirectKey) -> Action
fn from(redirect: SARedirectKey) -> Action
Converts to this type from the input type.
§impl From<SASetControls> for Action
impl From<SASetControls> for Action
§fn from(setcontrols: SASetControls) -> Action
fn from(setcontrols: SASetControls) -> Action
Converts to this type from the input type.
§impl From<SASetGroup> for Action
impl From<SASetGroup> for Action
§fn from(setgroup: SASetGroup) -> Action
fn from(setgroup: SASetGroup) -> Action
Converts to this type from the input type.
§impl From<SASetPtrDflt> for Action
impl From<SASetPtrDflt> for Action
§fn from(setptrdflt: SASetPtrDflt) -> Action
fn from(setptrdflt: SASetPtrDflt) -> Action
Converts to this type from the input type.
§impl From<SASwitchScreen> for Action
impl From<SASwitchScreen> for Action
§fn from(switchscreen: SASwitchScreen) -> Action
fn from(switchscreen: SASwitchScreen) -> Action
Converts to this type from the input type.
§impl From<SATerminate> for Action
impl From<SATerminate> for Action
§fn from(terminate: SATerminate) -> Action
fn from(terminate: SATerminate) -> Action
Converts to this type from the input type.
impl Copy for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
§fn try_parse_fd<'a>(
value: &'a [u8],
_: &mut Vec<OwnedFd>,
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<OwnedFd>, ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more