Enum egui::memory::FocusDirection
source · enum FocusDirection {
Up,
Right,
Down,
Left,
Previous,
Next,
None,
}
Variants§
Up
Select the widget closest above the current focused widget.
Right
Select the widget to the right of the current focused widget.
Down
Select the widget below the current focused widget.
Left
Select the widget to the left of the current focused widget.
Previous
Select the previous widget that had focus.
Next
Select the next widget that wants focus.
None
Don’t change focus.
Implementations§
source§impl FocusDirection
impl FocusDirection
fn is_cardinal(&self) -> bool
Trait Implementations§
source§impl Clone for FocusDirection
impl Clone for FocusDirection
source§fn clone(&self) -> FocusDirection
fn clone(&self) -> FocusDirection
Returns a copy 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 FocusDirection
impl Debug for FocusDirection
source§impl Default for FocusDirection
impl Default for FocusDirection
source§fn default() -> FocusDirection
fn default() -> FocusDirection
Returns the “default value” for a type. Read more
source§impl PartialEq for FocusDirection
impl PartialEq for FocusDirection
impl Copy for FocusDirection
impl Eq for FocusDirection
impl StructuralPartialEq for FocusDirection
Auto Trait Implementations§
impl Freeze for FocusDirection
impl RefUnwindSafe for FocusDirection
impl Send for FocusDirection
impl Sync for FocusDirection
impl Unpin for FocusDirection
impl UnwindSafe for FocusDirection
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)