pub struct ControlStateMetrics {
pub hover_blend: f32,
pub pressed_blend: f32,
pub selected_blend: f32,
pub tab_selected_blend: f32,
pub disabled_opacity: f32,
pub disabled_content_opacity: f32,
pub pressed_offset: f32,
pub active_indicator_thickness: f32,
}Fields§
§hover_blend: f32§pressed_blend: f32§selected_blend: f32§tab_selected_blend: f32§disabled_opacity: f32§disabled_content_opacity: f32§pressed_offset: f32§active_indicator_thickness: f32Implementations§
Source§impl ControlStateMetrics
impl ControlStateMetrics
pub fn for_density(density: ThemeDensity) -> Self
Trait Implementations§
Source§impl Clone for ControlStateMetrics
impl Clone for ControlStateMetrics
impl Copy for ControlStateMetrics
Source§impl Debug for ControlStateMetrics
impl Debug for ControlStateMetrics
Source§impl Default for ControlStateMetrics
impl Default for ControlStateMetrics
Source§impl PartialEq for ControlStateMetrics
impl PartialEq for ControlStateMetrics
impl StructuralPartialEq for ControlStateMetrics
Auto Trait Implementations§
impl Forget for ControlStateMetrics
impl Freeze for ControlStateMetrics
impl Move for ControlStateMetrics
impl RefUnwindSafe for ControlStateMetrics
impl Send for ControlStateMetrics
impl Sync for ControlStateMetrics
impl Unpin for ControlStateMetrics
impl UnsafeUnpin for ControlStateMetrics
impl UnwindSafe for ControlStateMetrics
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