Struct tiny_skia::edge_builder::ShiftedIntRect
source · pub struct ShiftedIntRect {
shifted: ScreenIntRect,
shift: i32,
}
Fields§
§shifted: ScreenIntRect
§shift: i32
Implementations§
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 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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)