pub struct FocusConfig {
pub min_outline_width: f32,
pub min_contrast: f32,
}Expand description
Focus indicator configuration
Fields§
§min_outline_width: f32Minimum focus outline width (pixels)
min_contrast: f32Minimum contrast for focus indicator
Trait Implementations§
Source§impl Clone for FocusConfig
impl Clone for FocusConfig
Source§fn clone(&self) -> FocusConfig
fn clone(&self) -> FocusConfig
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 FocusConfig
impl Debug for FocusConfig
Auto Trait Implementations§
impl Freeze for FocusConfig
impl RefUnwindSafe for FocusConfig
impl Send for FocusConfig
impl Sync for FocusConfig
impl Unpin for FocusConfig
impl UnsafeUnpin for FocusConfig
impl UnwindSafe for FocusConfig
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