pub enum IconScaleWhen {
Always,
IconBigger,
IconSmaller,
Never,
}Expand description
When to scale icon
Variants§
Always
Always scale
IconBigger
Scale only when icon is bigger than bounds
IconSmaller
Scale only when icon is smaller than bounds
Never
Never scale
Trait Implementations§
Source§impl Clone for IconScaleWhen
impl Clone for IconScaleWhen
Source§fn clone(&self) -> IconScaleWhen
fn clone(&self) -> IconScaleWhen
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 moreSource§impl Debug for IconScaleWhen
impl Debug for IconScaleWhen
Source§impl PartialEq for IconScaleWhen
impl PartialEq for IconScaleWhen
impl StructuralPartialEq for IconScaleWhen
Auto Trait Implementations§
impl Freeze for IconScaleWhen
impl RefUnwindSafe for IconScaleWhen
impl Send for IconScaleWhen
impl Sync for IconScaleWhen
impl Unpin for IconScaleWhen
impl UnsafeUnpin for IconScaleWhen
impl UnwindSafe for IconScaleWhen
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