pub struct PatchQuad {
pub source: Rect,
pub destination: Rect,
}Expand description
One image draw: the part of the source to read and the part of the destination to fill.
Fields§
§source: Rect§destination: RectTrait Implementations§
impl Copy for PatchQuad
impl StructuralPartialEq for PatchQuad
Auto Trait Implementations§
impl Freeze for PatchQuad
impl RefUnwindSafe for PatchQuad
impl Send for PatchQuad
impl Sync for PatchQuad
impl Unpin for PatchQuad
impl UnsafeUnpin for PatchQuad
impl UnwindSafe for PatchQuad
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