pub enum IconScale {
Always,
Bigger,
Smaller,
Never,
}
Expand description
How the icon in a push button field should be scaled.
Variants§
Always
Always scale the icon.
Bigger
Scale the icon only when the icon is bigger than the annotation rectangle.
Smaller
Scale the icon only when the icon is smaller than the annotation rectangle.
Never
Never scale the icon.
Trait Implementations§
impl Copy for IconScale
impl Eq for IconScale
impl StructuralPartialEq for IconScale
Auto Trait Implementations§
impl Freeze for IconScale
impl RefUnwindSafe for IconScale
impl Send for IconScale
impl Sync for IconScale
impl Unpin for IconScale
impl UnwindSafe for IconScale
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)