pub struct FocusItem {
pub x: f32,
pub y: f32,
pub width: f32,
pub height: f32,
pub kind: FocusKind,
}Expand description
One keyboard-focusable element, in document (Tab) order. Carries the geometry (for the focus ring) plus how the shell should act on it.
Fields§
§x: f32§y: f32§width: f32§height: f32§kind: FocusKindImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FocusItem
impl RefUnwindSafe for FocusItem
impl Send for FocusItem
impl Sync for FocusItem
impl Unpin for FocusItem
impl UnsafeUnpin for FocusItem
impl UnwindSafe for FocusItem
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