pub struct MoveRect {
pub source_point: (i32, i32),
pub destination_rect: (i32, i32, i32, i32),
}Available on Windows only.
Expand description
Represents a rectangle that has been moved from one location to another.
This structure describes a region that was moved from a source location to a destination location, which is useful for optimizing screen updates in streaming applications.
Fields§
§source_point: (i32, i32)The source point where the content was moved from (top-left corner)
destination_rect: (i32, i32, i32, i32)The destination rectangle where the content was moved to
Trait Implementations§
impl Copy for MoveRect
impl Eq for MoveRect
impl StructuralPartialEq for MoveRect
Auto Trait Implementations§
impl Freeze for MoveRect
impl RefUnwindSafe for MoveRect
impl Send for MoveRect
impl Sync for MoveRect
impl Unpin for MoveRect
impl UnsafeUnpin for MoveRect
impl UnwindSafe for MoveRect
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