Struct x11rb_protocol::protocol::xkb::Action
source · pub struct Action(/* private fields */);
Implementations§
source§impl Action
impl Action
pub fn as_noaction(&self) -> SANoAction
pub fn as_setmods(&self) -> SASetMods
pub fn as_latchmods(&self) -> SALatchMods
pub fn as_lockmods(&self) -> SALockMods
pub fn as_setgroup(&self) -> SASetGroup
pub fn as_latchgroup(&self) -> SALatchGroup
pub fn as_lockgroup(&self) -> SALockGroup
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) -> SALockControls
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§
source§impl From<SAActionMessage> for Action
impl From<SAActionMessage> for Action
source§fn from(message: SAActionMessage) -> Self
fn from(message: SAActionMessage) -> Self
Converts to this type from the input type.
source§impl From<SADeviceBtn> for Action
impl From<SADeviceBtn> for Action
source§fn from(devbtn: SADeviceBtn) -> Self
fn from(devbtn: SADeviceBtn) -> Self
Converts to this type from the input type.
source§impl From<SADeviceValuator> for Action
impl From<SADeviceValuator> for Action
source§fn from(devval: SADeviceValuator) -> Self
fn from(devval: SADeviceValuator) -> Self
Converts to this type from the input type.
source§impl From<SALockDeviceBtn> for Action
impl From<SALockDeviceBtn> for Action
source§fn from(lockdevbtn: SALockDeviceBtn) -> Self
fn from(lockdevbtn: SALockDeviceBtn) -> Self
Converts to this type from the input type.
source§impl From<SALockPtrBtn> for Action
impl From<SALockPtrBtn> for Action
source§fn from(lockptrbtn: SALockPtrBtn) -> Self
fn from(lockptrbtn: SALockPtrBtn) -> Self
Converts to this type from the input type.
source§impl From<SANoAction> for Action
impl From<SANoAction> for Action
source§fn from(noaction: SANoAction) -> Self
fn from(noaction: SANoAction) -> Self
Converts to this type from the input type.
source§impl From<SARedirectKey> for Action
impl From<SARedirectKey> for Action
source§fn from(redirect: SARedirectKey) -> Self
fn from(redirect: SARedirectKey) -> Self
Converts to this type from the input type.
source§impl From<SASetControls> for Action
impl From<SASetControls> for Action
source§fn from(setcontrols: SASetControls) -> Self
fn from(setcontrols: SASetControls) -> Self
Converts to this type from the input type.
source§impl From<SASetGroup> for Action
impl From<SASetGroup> for Action
source§fn from(setgroup: SASetGroup) -> Self
fn from(setgroup: SASetGroup) -> Self
Converts to this type from the input type.
source§impl From<SASetPtrDflt> for Action
impl From<SASetPtrDflt> for Action
source§fn from(setptrdflt: SASetPtrDflt) -> Self
fn from(setptrdflt: SASetPtrDflt) -> Self
Converts to this type from the input type.
source§impl From<SASwitchScreen> for Action
impl From<SASwitchScreen> for Action
source§fn from(switchscreen: SASwitchScreen) -> Self
fn from(switchscreen: SASwitchScreen) -> Self
Converts to this type from the input type.
source§impl From<SATerminate> for Action
impl From<SATerminate> for Action
source§fn from(terminate: SATerminate) -> Self
fn from(terminate: SATerminate) -> Self
Converts to this type from the input type.
impl Copy for Action
Auto Trait Implementations§
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> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
source§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