pub struct Resize {
pub width: u32,
pub height: u32,
}
Expand description
Resize Modifier for Image
Fields§
§width: u32
The resized width of the new Image
height: u32
The resized heigt of the new Image
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Resize
impl Send for Resize
impl Sync for Resize
impl Unpin for Resize
impl UnwindSafe for Resize
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