pub struct ResolvedButton {Show 14 fields
pub background: Rgba,
pub foreground: Rgba,
pub border: Rgba,
pub primary_bg: Rgba,
pub primary_fg: Rgba,
pub min_width: f32,
pub min_height: f32,
pub padding_horizontal: f32,
pub padding_vertical: f32,
pub radius: f32,
pub icon_spacing: f32,
pub disabled_opacity: f32,
pub shadow: bool,
pub font: ResolvedFontSpec,
}Expand description
Push button: colors, sizing, spacing, geometry.
Fields§
§background: Rgba§foreground: Rgba§border: Rgba§primary_bg: Rgba§primary_fg: Rgba§min_width: f32§min_height: f32§padding_horizontal: f32§padding_vertical: f32§radius: f32§icon_spacing: f32§disabled_opacity: f32§shadow: bool§font: ResolvedFontSpecTrait Implementations§
Source§impl Clone for ResolvedButton
impl Clone for ResolvedButton
Source§fn clone(&self) -> ResolvedButton
fn clone(&self) -> ResolvedButton
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 ResolvedButton
impl Debug for ResolvedButton
Source§impl PartialEq for ResolvedButton
impl PartialEq for ResolvedButton
impl StructuralPartialEq for ResolvedButton
Auto Trait Implementations§
impl Freeze for ResolvedButton
impl RefUnwindSafe for ResolvedButton
impl Send for ResolvedButton
impl Sync for ResolvedButton
impl Unpin for ResolvedButton
impl UnsafeUnpin for ResolvedButton
impl UnwindSafe for ResolvedButton
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