pub struct ImageRect {
pub start_x: i32,
pub start_y: i32,
pub width: usize,
pub height: usize,
}Expand description
Destination rectangle for a frame.
Fields§
§start_x: i32§start_y: i32§width: usize§height: usizeTrait Implementations§
impl Eq for ImageRect
impl StructuralPartialEq for ImageRect
Auto Trait Implementations§
impl Freeze for ImageRect
impl RefUnwindSafe for ImageRect
impl Send for ImageRect
impl Sync for ImageRect
impl Unpin for ImageRect
impl UnsafeUnpin for ImageRect
impl UnwindSafe for ImageRect
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