pub struct ImagePatch {
pub source: Rect<u32>,
pub display: PhysicalRect,
pub bounds: PhysicalRect,
pub horizontal_tiling: ImageTiling,
pub vertical_tiling: ImageTiling,
}Expand description
source and destination geometry for one image patch
Fields§
§source: Rect<u32>§display: PhysicalRect§bounds: PhysicalRect§horizontal_tiling: ImageTiling§vertical_tiling: ImageTilingTrait Implementations§
Source§impl Clone for ImagePatch
impl Clone for ImagePatch
impl Copy for ImagePatch
Source§impl Debug for ImagePatch
impl Debug for ImagePatch
impl Eq for ImagePatch
Source§impl PartialEq for ImagePatch
impl PartialEq for ImagePatch
impl StructuralPartialEq for ImagePatch
Auto Trait Implementations§
impl Forget for ImagePatch
impl Freeze for ImagePatch
impl Move for ImagePatch
impl RefUnwindSafe for ImagePatch
impl Send for ImagePatch
impl Sync for ImagePatch
impl Unpin for ImagePatch
impl UnsafeUnpin for ImagePatch
impl UnwindSafe for ImagePatch
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.