pub enum ScaleMethod {
Always,
Bigger,
Smaller,
Never,
}Expand description
Icon scale method (from /SW key in IconFit dictionary).
Variants§
Always
Always scale to fit (A, default).
Bigger
Scale only if the icon is bigger than the annotation (B).
Smaller
Scale only if the icon is smaller than the annotation (S).
Never
Never scale (N).
Trait Implementations§
Source§impl Clone for ScaleMethod
impl Clone for ScaleMethod
Source§fn clone(&self) -> ScaleMethod
fn clone(&self) -> ScaleMethod
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 ScaleMethod
impl Debug for ScaleMethod
Source§impl PartialEq for ScaleMethod
impl PartialEq for ScaleMethod
impl Copy for ScaleMethod
impl Eq for ScaleMethod
impl StructuralPartialEq for ScaleMethod
Auto Trait Implementations§
impl Freeze for ScaleMethod
impl RefUnwindSafe for ScaleMethod
impl Send for ScaleMethod
impl Sync for ScaleMethod
impl Unpin for ScaleMethod
impl UnsafeUnpin for ScaleMethod
impl UnwindSafe for ScaleMethod
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