[−][src]Struct breadx::auto::xproto::EventMask
Fields
inner: u32
Implementations
impl EventMask
[src]
pub fn key_press(&self) -> bool
[src]
pub fn set_key_press(&mut self, val: bool) -> &mut Self
[src]
pub fn key_release(&self) -> bool
[src]
pub fn set_key_release(&mut self, val: bool) -> &mut Self
[src]
pub fn button_press(&self) -> bool
[src]
pub fn set_button_press(&mut self, val: bool) -> &mut Self
[src]
pub fn button_release(&self) -> bool
[src]
pub fn set_button_release(&mut self, val: bool) -> &mut Self
[src]
pub fn enter_window(&self) -> bool
[src]
pub fn set_enter_window(&mut self, val: bool) -> &mut Self
[src]
pub fn leave_window(&self) -> bool
[src]
pub fn set_leave_window(&mut self, val: bool) -> &mut Self
[src]
pub fn pointer_motion(&self) -> bool
[src]
pub fn set_pointer_motion(&mut self, val: bool) -> &mut Self
[src]
pub fn pointer_motion_hint(&self) -> bool
[src]
pub fn set_pointer_motion_hint(&mut self, val: bool) -> &mut Self
[src]
pub fn button1_motion(&self) -> bool
[src]
pub fn set_button1_motion(&mut self, val: bool) -> &mut Self
[src]
pub fn button2_motion(&self) -> bool
[src]
pub fn set_button2_motion(&mut self, val: bool) -> &mut Self
[src]
pub fn button3_motion(&self) -> bool
[src]
pub fn set_button3_motion(&mut self, val: bool) -> &mut Self
[src]
pub fn button4_motion(&self) -> bool
[src]
pub fn set_button4_motion(&mut self, val: bool) -> &mut Self
[src]
pub fn button5_motion(&self) -> bool
[src]
pub fn set_button5_motion(&mut self, val: bool) -> &mut Self
[src]
pub fn button_motion(&self) -> bool
[src]
pub fn set_button_motion(&mut self, val: bool) -> &mut Self
[src]
pub fn keymap_state(&self) -> bool
[src]
pub fn set_keymap_state(&mut self, val: bool) -> &mut Self
[src]
pub fn exposure(&self) -> bool
[src]
pub fn set_exposure(&mut self, val: bool) -> &mut Self
[src]
pub fn visibility_change(&self) -> bool
[src]
pub fn set_visibility_change(&mut self, val: bool) -> &mut Self
[src]
pub fn structure_notify(&self) -> bool
[src]
pub fn set_structure_notify(&mut self, val: bool) -> &mut Self
[src]
pub fn resize_redirect(&self) -> bool
[src]
pub fn set_resize_redirect(&mut self, val: bool) -> &mut Self
[src]
pub fn substructure_notify(&self) -> bool
[src]
pub fn set_substructure_notify(&mut self, val: bool) -> &mut Self
[src]
pub fn substructure_redirect(&self) -> bool
[src]
pub fn set_substructure_redirect(&mut self, val: bool) -> &mut Self
[src]
pub fn focus_change(&self) -> bool
[src]
pub fn set_focus_change(&mut self, val: bool) -> &mut Self
[src]
pub fn property_change(&self) -> bool
[src]
pub fn set_property_change(&mut self, val: bool) -> &mut Self
[src]
pub fn color_map_change(&self) -> bool
[src]
pub fn set_color_map_change(&mut self, val: bool) -> &mut Self
[src]
pub fn owner_grab_button(&self) -> bool
[src]
pub fn set_owner_grab_button(&mut self, val: bool) -> &mut Self
[src]
pub fn new(
key_press: bool,
key_release: bool,
button_press: bool,
button_release: bool,
enter_window: bool,
leave_window: bool,
pointer_motion: bool,
pointer_motion_hint: bool,
button1_motion: bool,
button2_motion: bool,
button3_motion: bool,
button4_motion: bool,
button5_motion: bool,
button_motion: bool,
keymap_state: bool,
exposure: bool,
visibility_change: bool,
structure_notify: bool,
resize_redirect: bool,
substructure_notify: bool,
substructure_redirect: bool,
focus_change: bool,
property_change: bool,
color_map_change: bool,
owner_grab_button: bool
) -> Self
[src]
key_press: bool,
key_release: bool,
button_press: bool,
button_release: bool,
enter_window: bool,
leave_window: bool,
pointer_motion: bool,
pointer_motion_hint: bool,
button1_motion: bool,
button2_motion: bool,
button3_motion: bool,
button4_motion: bool,
button5_motion: bool,
button_motion: bool,
keymap_state: bool,
exposure: bool,
visibility_change: bool,
structure_notify: bool,
resize_redirect: bool,
substructure_notify: bool,
substructure_redirect: bool,
focus_change: bool,
property_change: bool,
color_map_change: bool,
owner_grab_button: bool
) -> Self
Trait Implementations
impl AsByteSequence for EventMask
[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 EventMask
[src]
impl Copy for EventMask
[src]
impl Debug for EventMask
[src]
impl Default for EventMask
[src]
impl Eq for EventMask
[src]
impl Ord for EventMask
[src]
pub fn cmp(&self, other: &EventMask) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<EventMask> for EventMask
[src]
impl PartialOrd<EventMask> for EventMask
[src]
pub fn partial_cmp(&self, other: &EventMask) -> Option<Ordering>
[src]
pub fn lt(&self, other: &EventMask) -> bool
[src]
pub fn le(&self, other: &EventMask) -> bool
[src]
pub fn gt(&self, other: &EventMask) -> bool
[src]
pub fn ge(&self, other: &EventMask) -> bool
[src]
impl StructuralEq for EventMask
[src]
impl StructuralPartialEq for EventMask
[src]
Auto Trait Implementations
impl RefUnwindSafe for EventMask
impl Send for EventMask
impl Sync for EventMask
impl Unpin for EventMask
impl UnwindSafe for EventMask
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>,