Enum gtk::IconSize [−][src]
#[non_exhaustive] pub enum IconSize { Invalid, Menu, SmallToolbar, LargeToolbar, Button, Dnd, Dialog, // some variants omitted }
Expand description
Built-in stock icon sizes.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Invalid size.
Size appropriate for menus (16px).
Size appropriate for small toolbars (16px).
Size appropriate for large toolbars (24px)
Size appropriate for buttons (16px)
Size appropriate for drag and drop (32px)
Size appropriate for dialogs (48px)
Implementations
Trait Implementations
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
Auto Trait Implementations
impl RefUnwindSafe for IconSize
impl UnwindSafe for IconSize
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.