pub struct ImageRegion {
pub x: u32,
pub y: u32,
pub width: u32,
pub height: u32,
}Expand description
The visible part of an image in integer source pixels.
Fields§
§x: u32§y: u32§width: u32§height: u32Implementations§
Trait Implementations§
Source§impl Clone for ImageRegion
impl Clone for ImageRegion
impl Copy for ImageRegion
Source§impl Debug for ImageRegion
impl Debug for ImageRegion
impl Eq for ImageRegion
Source§impl Hash for ImageRegion
impl Hash for ImageRegion
Source§impl PartialEq for ImageRegion
impl PartialEq for ImageRegion
impl StructuralPartialEq for ImageRegion
Auto Trait Implementations§
impl Forget for ImageRegion
impl Freeze for ImageRegion
impl Move for ImageRegion
impl RefUnwindSafe for ImageRegion
impl Send for ImageRegion
impl Sync for ImageRegion
impl Unpin for ImageRegion
impl UnsafeUnpin for ImageRegion
impl UnwindSafe for ImageRegion
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