Struct x11rb_protocol::protocol::present::RedirectNotifyEvent
source · pub struct RedirectNotifyEvent {Show 25 fields
pub response_type: u8,
pub extension: u8,
pub sequence: u16,
pub length: u32,
pub event_type: u16,
pub update_window: bool,
pub event: Event,
pub event_window: Window,
pub window: Window,
pub pixmap: Pixmap,
pub serial: u32,
pub valid_region: Region,
pub update_region: Region,
pub valid_rect: Rectangle,
pub update_rect: Rectangle,
pub x_off: i16,
pub y_off: i16,
pub target_crtc: Crtc,
pub wait_fence: Fence,
pub idle_fence: Fence,
pub options: u32,
pub target_msc: u64,
pub divisor: u64,
pub remainder: u64,
pub notifies: Vec<Notify>,
}
Fields§
§response_type: u8
§extension: u8
§sequence: u16
§length: u32
§event_type: u16
§update_window: bool
§event: Event
§event_window: Window
§window: Window
§pixmap: Pixmap
§serial: u32
§valid_region: Region
§update_region: Region
§valid_rect: Rectangle
§update_rect: Rectangle
§x_off: i16
§y_off: i16
§target_crtc: Crtc
§wait_fence: Fence
§idle_fence: Fence
§options: u32
§target_msc: u64
§divisor: u64
§remainder: u64
§notifies: Vec<Notify>
Trait Implementations§
source§impl Clone for RedirectNotifyEvent
impl Clone for RedirectNotifyEvent
source§fn clone(&self) -> RedirectNotifyEvent
fn clone(&self) -> RedirectNotifyEvent
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 RedirectNotifyEvent
impl Debug for RedirectNotifyEvent
source§impl Default for RedirectNotifyEvent
impl Default for RedirectNotifyEvent
source§fn default() -> RedirectNotifyEvent
fn default() -> RedirectNotifyEvent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RedirectNotifyEvent
impl<'de> Deserialize<'de> for RedirectNotifyEvent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for RedirectNotifyEvent
impl Hash for RedirectNotifyEvent
source§impl Ord for RedirectNotifyEvent
impl Ord for RedirectNotifyEvent
source§fn cmp(&self, other: &RedirectNotifyEvent) -> Ordering
fn cmp(&self, other: &RedirectNotifyEvent) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for RedirectNotifyEvent
impl PartialEq for RedirectNotifyEvent
source§fn eq(&self, other: &RedirectNotifyEvent) -> bool
fn eq(&self, other: &RedirectNotifyEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RedirectNotifyEvent
impl PartialOrd for RedirectNotifyEvent
source§fn partial_cmp(&self, other: &RedirectNotifyEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &RedirectNotifyEvent) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for RedirectNotifyEvent
impl Serialize for RedirectNotifyEvent
source§impl Serialize for RedirectNotifyEvent
impl Serialize for RedirectNotifyEvent
source§impl TryParse for RedirectNotifyEvent
impl TryParse for RedirectNotifyEvent
impl Eq for RedirectNotifyEvent
impl StructuralPartialEq for RedirectNotifyEvent
Auto Trait Implementations§
impl Freeze for RedirectNotifyEvent
impl RefUnwindSafe for RedirectNotifyEvent
impl Send for RedirectNotifyEvent
impl Sync for RedirectNotifyEvent
impl Unpin for RedirectNotifyEvent
impl UnwindSafe for RedirectNotifyEvent
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> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
source§fn try_parse_fd<'a>(
value: &'a [u8],
_: &mut Vec<OwnedFd>
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<OwnedFd> ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more