pub struct FocusOutlineSpec {
pub width: f32,
pub color: Color,
pub offset: f32,
}Expand description
Stored on Interaction::focus_outline. Was a free-standing
FocusOutline component before the alpha2 collapse.
Fields§
§width: f32Stroke width in logical pixels.
color: ColorStroke color.
offset: f32CSS outline-offset: gap between the border box edge and the
ring’s inner edge. Default 0.
Trait Implementations§
Source§impl Clone for FocusOutlineSpec
impl Clone for FocusOutlineSpec
Source§fn clone(&self) -> FocusOutlineSpec
fn clone(&self) -> FocusOutlineSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FocusOutlineSpec
impl Debug for FocusOutlineSpec
Source§impl PartialEq for FocusOutlineSpec
impl PartialEq for FocusOutlineSpec
Source§fn eq(&self, other: &FocusOutlineSpec) -> bool
fn eq(&self, other: &FocusOutlineSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FocusOutlineSpec
impl StructuralPartialEq for FocusOutlineSpec
Auto Trait Implementations§
impl Freeze for FocusOutlineSpec
impl RefUnwindSafe for FocusOutlineSpec
impl Send for FocusOutlineSpec
impl Sync for FocusOutlineSpec
impl Unpin for FocusOutlineSpec
impl UnsafeUnpin for FocusOutlineSpec
impl UnwindSafe for FocusOutlineSpec
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.