pub struct ShrinkOptions {
pub ceil: bool,
}
Expand description
Options for shrink operation
Fields§
§ceil: bool
ceil: bool
-> Round-up output dimensions
default: false
Trait Implementations§
Source§impl Clone for ShrinkOptions
impl Clone for ShrinkOptions
Source§fn clone(&self) -> ShrinkOptions
fn clone(&self) -> ShrinkOptions
Returns a copy 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 ShrinkOptions
impl Debug for ShrinkOptions
Auto Trait Implementations§
impl Freeze for ShrinkOptions
impl RefUnwindSafe for ShrinkOptions
impl Send for ShrinkOptions
impl Sync for ShrinkOptions
impl Unpin for ShrinkOptions
impl UnwindSafe for ShrinkOptions
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