pub struct ImageBounds {
pub width: u32,
pub height: u32,
}
Expand description
Bounds for the input image
These are required since they can not be inferred from the RGBA values
Fields§
§width: u32
The input image’s width
height: u32
The input image’s height
Trait Implementations§
Source§impl Clone for ImageBounds
impl Clone for ImageBounds
Source§fn clone(&self) -> ImageBounds
fn clone(&self) -> ImageBounds
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ImageBounds
impl Debug for ImageBounds
impl Copy for ImageBounds
Auto Trait Implementations§
impl Freeze for ImageBounds
impl RefUnwindSafe for ImageBounds
impl Send for ImageBounds
impl Sync for ImageBounds
impl Unpin for ImageBounds
impl UnwindSafe for ImageBounds
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