[−][src]Struct breadx::auto::xproto::KeyButMask
Fields
inner: u16Implementations
impl KeyButMask[src]
pub fn shift(&self) -> bool[src]
pub fn set_shift(&mut self, val: bool) -> &mut Self[src]
pub fn lock(&self) -> bool[src]
pub fn set_lock(&mut self, val: bool) -> &mut Self[src]
pub fn control(&self) -> bool[src]
pub fn set_control(&mut self, val: bool) -> &mut Self[src]
pub fn mod1(&self) -> bool[src]
pub fn set_mod1(&mut self, val: bool) -> &mut Self[src]
pub fn mod2(&self) -> bool[src]
pub fn set_mod2(&mut self, val: bool) -> &mut Self[src]
pub fn mod3(&self) -> bool[src]
pub fn set_mod3(&mut self, val: bool) -> &mut Self[src]
pub fn mod4(&self) -> bool[src]
pub fn set_mod4(&mut self, val: bool) -> &mut Self[src]
pub fn mod5(&self) -> bool[src]
pub fn set_mod5(&mut self, val: bool) -> &mut Self[src]
pub fn button1(&self) -> bool[src]
pub fn set_button1(&mut self, val: bool) -> &mut Self[src]
pub fn button2(&self) -> bool[src]
pub fn set_button2(&mut self, val: bool) -> &mut Self[src]
pub fn button3(&self) -> bool[src]
pub fn set_button3(&mut self, val: bool) -> &mut Self[src]
pub fn button4(&self) -> bool[src]
pub fn set_button4(&mut self, val: bool) -> &mut Self[src]
pub fn button5(&self) -> bool[src]
pub fn set_button5(&mut self, val: bool) -> &mut Self[src]
pub fn new(
shift: bool,
lock: bool,
control: bool,
mod1: bool,
mod2: bool,
mod3: bool,
mod4: bool,
mod5: bool,
button1: bool,
button2: bool,
button3: bool,
button4: bool,
button5: bool
) -> Self[src]
shift: bool,
lock: bool,
control: bool,
mod1: bool,
mod2: bool,
mod3: bool,
mod4: bool,
mod5: bool,
button1: bool,
button2: bool,
button3: bool,
button4: bool,
button5: bool
) -> Self
Trait Implementations
impl AsByteSequence for KeyButMask[src]
pub fn as_bytes(&self, bytes: &mut [u8]) -> usize[src]
pub fn from_bytes(bytes: &[u8]) -> Option<(Self, usize)>[src]
pub fn size(&self) -> usize[src]
impl Clone for KeyButMask[src]
pub fn clone(&self) -> KeyButMask[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for KeyButMask[src]
impl Debug for KeyButMask[src]
impl Default for KeyButMask[src]
pub fn default() -> KeyButMask[src]
impl Eq for KeyButMask[src]
impl Ord for KeyButMask[src]
pub fn cmp(&self, other: &KeyButMask) -> Ordering[src]
#[must_use]pub fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self1.50.0[src]
impl PartialEq<KeyButMask> for KeyButMask[src]
pub fn eq(&self, other: &KeyButMask) -> bool[src]
pub fn ne(&self, other: &KeyButMask) -> bool[src]
impl PartialOrd<KeyButMask> for KeyButMask[src]
pub fn partial_cmp(&self, other: &KeyButMask) -> Option<Ordering>[src]
pub fn lt(&self, other: &KeyButMask) -> bool[src]
pub fn le(&self, other: &KeyButMask) -> bool[src]
pub fn gt(&self, other: &KeyButMask) -> bool[src]
pub fn ge(&self, other: &KeyButMask) -> bool[src]
impl StructuralEq for KeyButMask[src]
impl StructuralPartialEq for KeyButMask[src]
Auto Trait Implementations
impl RefUnwindSafe for KeyButMask
impl Send for KeyButMask
impl Sync for KeyButMask
impl Unpin for KeyButMask
impl UnwindSafe for KeyButMask
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,