Struct xcb::xkb::SetKeyTypeBuf
source · pub struct SetKeyTypeBuf { /* private fields */ }
Implementations§
source§impl SetKeyTypeBuf
impl SetKeyTypeBuf
sourcepub fn new(
mask: ModMask,
real_mods: ModMask,
virtual_mods: VMod,
num_levels: u8,
preserve: bool,
entries: &[KtSetMapEntry],
preserve_entries: &[KtSetMapEntry],
) -> SetKeyTypeBuf
pub fn new( mask: ModMask, real_mods: ModMask, virtual_mods: VMod, num_levels: u8, preserve: bool, entries: &[KtSetMapEntry], preserve_entries: &[KtSetMapEntry], ) -> SetKeyTypeBuf
Construct a new SetKeyTypeBuf.
Methods from Deref<Target = SetKeyType>§
pub fn mask(&self) -> ModMask
pub fn real_mods(&self) -> ModMask
pub fn virtual_mods(&self) -> VMod
pub fn num_levels(&self) -> u8
pub fn preserve(&self) -> bool
pub fn entries(&self) -> &[KtSetMapEntry]
pub fn preserve_entries(&self) -> &[KtSetMapEntry]
Trait Implementations§
source§impl Borrow<SetKeyType> for SetKeyTypeBuf
impl Borrow<SetKeyType> for SetKeyTypeBuf
source§fn borrow(&self) -> &SetKeyType
fn borrow(&self) -> &SetKeyType
Immutably borrows from an owned value. Read more
source§impl Clone for SetKeyTypeBuf
impl Clone for SetKeyTypeBuf
source§fn clone(&self) -> SetKeyTypeBuf
fn clone(&self) -> SetKeyTypeBuf
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 SetKeyTypeBuf
impl Debug for SetKeyTypeBuf
Auto Trait Implementations§
impl Freeze for SetKeyTypeBuf
impl RefUnwindSafe for SetKeyTypeBuf
impl Send for SetKeyTypeBuf
impl Sync for SetKeyTypeBuf
impl Unpin for SetKeyTypeBuf
impl UnwindSafe for SetKeyTypeBuf
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
)