#[repr(i32)]pub enum DisplayStreamUpdateRectType {
RefreshedRects = 0,
MovedRects = 1,
DirtyRects = 2,
ReducedDirtyRects = 3,
}Variants§
RefreshedRects = 0
The rectangles that were refreshed on the display, not counting moved rectangles
MovedRects = 1
The rectangles that were simply moved from one part of the display to another
DirtyRects = 2
The union of both refreshed and moved rects
ReducedDirtyRects = 3
A possibly simplified (but overstated) array of dirty rectangles
Trait Implementations§
Source§impl Clone for UpdateRectType
impl Clone for UpdateRectType
Source§fn clone(&self) -> UpdateRectType
fn clone(&self) -> UpdateRectType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UpdateRectType
Source§impl Debug for UpdateRectType
impl Debug for UpdateRectType
impl Eq for UpdateRectType
Source§impl PartialEq for UpdateRectType
impl PartialEq for UpdateRectType
Source§fn eq(&self, other: &UpdateRectType) -> bool
fn eq(&self, other: &UpdateRectType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateRectType
Auto Trait Implementations§
impl Freeze for UpdateRectType
impl RefUnwindSafe for UpdateRectType
impl Send for UpdateRectType
impl Sync for UpdateRectType
impl Unpin for UpdateRectType
impl UnsafeUnpin for UpdateRectType
impl UnwindSafe for UpdateRectType
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