pub struct ResizeCommand {
pub width: ResizeParameter,
pub height: ResizeParameter,
pub preserve_aspect_ratio: bool,
}Expand description
Dimensions to resize a graphic.
Fields§
§width: ResizeParameter§height: ResizeParameter§preserve_aspect_ratio: boolTrait Implementations§
Source§impl Clone for ResizeCommand
impl Clone for ResizeCommand
Source§fn clone(&self) -> ResizeCommand
fn clone(&self) -> ResizeCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ResizeCommand
Source§impl Debug for ResizeCommand
impl Debug for ResizeCommand
impl Eq for ResizeCommand
Source§impl PartialEq for ResizeCommand
impl PartialEq for ResizeCommand
impl StructuralPartialEq for ResizeCommand
Auto Trait Implementations§
impl Freeze for ResizeCommand
impl RefUnwindSafe for ResizeCommand
impl Send for ResizeCommand
impl Sync for ResizeCommand
impl Unpin for ResizeCommand
impl UnsafeUnpin for ResizeCommand
impl UnwindSafe for ResizeCommand
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