pub struct Extents {
pub width: u32,
pub height: u32,
}Expand description
The ispe image spatial extents — an item’s dimensions in pixels.
Fields§
§width: u32Width in pixels.
height: u32Height in pixels.
Trait Implementations§
impl Copy for Extents
impl Eq for Extents
impl StructuralPartialEq for Extents
Auto Trait Implementations§
impl Freeze for Extents
impl RefUnwindSafe for Extents
impl Send for Extents
impl Sync for Extents
impl Unpin for Extents
impl UnsafeUnpin for Extents
impl UnwindSafe for Extents
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