#[non_exhaustive]pub struct ResolvedIconSizes {
pub toolbar: f32,
pub small: f32,
pub large: f32,
pub dialog: f32,
pub panel: f32,
}Expand description
Fully resolved per-context icon sizes where every context is guaranteed populated.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.toolbar: f32Icon size for toolbar buttons.
small: f32Small icon size for inline use.
large: f32Large icon size for menus/lists.
dialog: f32Icon size for dialog buttons.
panel: f32Icon size for panel headers.
Trait Implementations§
Source§impl Clone for ResolvedIconSizes
impl Clone for ResolvedIconSizes
Source§impl Debug for ResolvedIconSizes
impl Debug for ResolvedIconSizes
Source§impl<'de> Deserialize<'de> for ResolvedIconSizes
impl<'de> Deserialize<'de> for ResolvedIconSizes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ResolvedIconSizes
impl PartialEq for ResolvedIconSizes
Source§impl Serialize for ResolvedIconSizes
impl Serialize for ResolvedIconSizes
impl StructuralPartialEq for ResolvedIconSizes
Auto Trait Implementations§
impl Forget for ResolvedIconSizes
impl Freeze for ResolvedIconSizes
impl Move for ResolvedIconSizes
impl RefUnwindSafe for ResolvedIconSizes
impl Send for ResolvedIconSizes
impl Sync for ResolvedIconSizes
impl Unpin for ResolvedIconSizes
impl UnsafeUnpin for ResolvedIconSizes
impl UnwindSafe for ResolvedIconSizes
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