Struct xcb::xinput::ModifierInfo
source · [−]#[repr(C)]pub struct ModifierInfo {
pub base: u32,
pub latched: u32,
pub locked: u32,
pub effective: u32,
}
Fields
base: u32
latched: u32
locked: u32
effective: u32
Trait Implementations
sourceimpl Clone for ModifierInfo
impl Clone for ModifierInfo
sourcefn clone(&self) -> ModifierInfo
fn clone(&self) -> ModifierInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ModifierInfo
impl Debug for ModifierInfo
impl Copy for ModifierInfo
Auto Trait Implementations
impl RefUnwindSafe for ModifierInfo
impl Send for ModifierInfo
impl Sync for ModifierInfo
impl Unpin for ModifierInfo
impl UnwindSafe for ModifierInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more