pub enum FocusFollowsMouseMode {
True,
False,
}
Expand description
A focus-follows-mouse mode.
Variants§
True
When the mouse moves and enters a toplevel, that toplevel gets the keyboard focus.
False
The keyboard focus changes only when clicking on a window or the previously focused window becomes invisible.
Trait Implementations§
Source§impl Clone for FocusFollowsMouseMode
impl Clone for FocusFollowsMouseMode
Source§fn clone(&self) -> FocusFollowsMouseMode
fn clone(&self) -> FocusFollowsMouseMode
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 FocusFollowsMouseMode
impl Debug for FocusFollowsMouseMode
Source§impl<'de> Deserialize<'de> for FocusFollowsMouseMode
impl<'de> Deserialize<'de> for FocusFollowsMouseMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for FocusFollowsMouseMode
impl Hash for FocusFollowsMouseMode
Source§impl PartialEq for FocusFollowsMouseMode
impl PartialEq for FocusFollowsMouseMode
Source§impl Serialize for FocusFollowsMouseMode
impl Serialize for FocusFollowsMouseMode
impl Copy for FocusFollowsMouseMode
impl Eq for FocusFollowsMouseMode
impl StructuralPartialEq for FocusFollowsMouseMode
Auto Trait Implementations§
impl Freeze for FocusFollowsMouseMode
impl RefUnwindSafe for FocusFollowsMouseMode
impl Send for FocusFollowsMouseMode
impl Sync for FocusFollowsMouseMode
impl Unpin for FocusFollowsMouseMode
impl UnwindSafe for FocusFollowsMouseMode
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