Struct xcb::xkb::KtMapEntry
source · pub struct KtMapEntry { /* private fields */ }
Implementations§
source§impl KtMapEntry
impl KtMapEntry
sourcepub fn new(
active: bool,
mods_mask: ModMask,
level: u8,
mods_mods: ModMask,
mods_vmods: VMod,
) -> KtMapEntry
pub fn new( active: bool, mods_mask: ModMask, level: u8, mods_mods: ModMask, mods_vmods: VMod, ) -> KtMapEntry
Construct a new KtMapEntry.
pub fn active(&self) -> bool
pub fn mods_mask(&self) -> ModMask
pub fn level(&self) -> u8
pub fn mods_mods(&self) -> ModMask
pub fn mods_vmods(&self) -> VMod
Trait Implementations§
source§impl Clone for KtMapEntry
impl Clone for KtMapEntry
source§fn clone(&self) -> KtMapEntry
fn clone(&self) -> KtMapEntry
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 KtMapEntry
impl Debug for KtMapEntry
impl Copy for KtMapEntry
Auto Trait Implementations§
impl Freeze for KtMapEntry
impl RefUnwindSafe for KtMapEntry
impl Send for KtMapEntry
impl Sync for KtMapEntry
impl Unpin for KtMapEntry
impl UnwindSafe for KtMapEntry
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
)