pub struct ResizeDimensions {
pub width: usize,
pub height: usize,
}Expand description
Specifies the target resolution for the resized image.
Fields§
§width: usize§height: usizeTrait Implementations§
Source§impl Clone for ResizeDimensions
impl Clone for ResizeDimensions
Source§fn clone(&self) -> ResizeDimensions
fn clone(&self) -> ResizeDimensions
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 ResizeDimensions
impl Debug for ResizeDimensions
impl Copy for ResizeDimensions
Auto Trait Implementations§
impl Freeze for ResizeDimensions
impl RefUnwindSafe for ResizeDimensions
impl Send for ResizeDimensions
impl Sync for ResizeDimensions
impl Unpin for ResizeDimensions
impl UnwindSafe for ResizeDimensions
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