pub struct ScrollCopy {
pub x: u32,
pub y: u32,
pub width: u32,
pub height: u32,
pub dx: i32,
pub dy: i32,
}Expand description
A copy within the retained surface: the source rectangle and how far it moves, in pixels.
Fields§
§x: u32§y: u32§width: u32§height: u32§dx: i32§dy: i32Trait Implementations§
Source§impl Clone for ScrollCopy
impl Clone for ScrollCopy
impl Copy for ScrollCopy
Source§impl Debug for ScrollCopy
impl Debug for ScrollCopy
impl Eq for ScrollCopy
Source§impl PartialEq for ScrollCopy
impl PartialEq for ScrollCopy
impl StructuralPartialEq for ScrollCopy
Auto Trait Implementations§
impl Forget for ScrollCopy
impl Freeze for ScrollCopy
impl Move for ScrollCopy
impl RefUnwindSafe for ScrollCopy
impl Send for ScrollCopy
impl Sync for ScrollCopy
impl Unpin for ScrollCopy
impl UnsafeUnpin for ScrollCopy
impl UnwindSafe for ScrollCopy
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more