Struct xcb::xkb::SymInterpret
source · pub struct SymInterpret { /* private fields */ }
Implementations§
source§impl SymInterpret
impl SymInterpret
sourcepub fn new(
sym: Keysym,
mods: ModMask,
match: u8,
virtual_mod: VModsLow,
flags: u8,
action: SiAction,
) -> SymInterpret
pub fn new( sym: Keysym, mods: ModMask, match: u8, virtual_mod: VModsLow, flags: u8, action: SiAction, ) -> SymInterpret
Construct a new SymInterpret.
pub fn sym(&self) -> Keysym
pub fn mods(&self) -> ModMask
pub fn match(&self) -> u8
pub fn virtual_mod(&self) -> VModsLow
pub fn flags(&self) -> u8
pub fn action(&self) -> &SiAction
Trait Implementations§
source§impl Clone for SymInterpret
impl Clone for SymInterpret
source§fn clone(&self) -> SymInterpret
fn clone(&self) -> SymInterpret
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 SymInterpret
impl Debug for SymInterpret
impl Copy for SymInterpret
Auto Trait Implementations§
impl Freeze for SymInterpret
impl RefUnwindSafe for SymInterpret
impl Send for SymInterpret
impl Sync for SymInterpret
impl Unpin for SymInterpret
impl UnwindSafe for SymInterpret
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
)