pub struct ShiftedIntRect {
    shifted: ScreenIntRect,
    shift: i32,
}Fields§
§shifted: ScreenIntRect§shift: i32Implementations§
Source§impl ShiftedIntRect
 
impl ShiftedIntRect
pub fn new(rect: &ScreenIntRect, shift: i32) -> Option<Self>
pub fn shifted(&self) -> &ScreenIntRect
pub fn recover(&self) -> ScreenIntRect
Trait Implementations§
Source§impl Clone for ShiftedIntRect
 
impl Clone for ShiftedIntRect
Source§fn clone(&self) -> ShiftedIntRect
 
fn clone(&self) -> ShiftedIntRect
Returns a duplicate 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 ShiftedIntRect
 
impl Debug for ShiftedIntRect
impl Copy for ShiftedIntRect
Auto Trait Implementations§
impl Freeze for ShiftedIntRect
impl RefUnwindSafe for ShiftedIntRect
impl Send for ShiftedIntRect
impl Sync for ShiftedIntRect
impl Unpin for ShiftedIntRect
impl UnwindSafe for ShiftedIntRect
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