Enum Flag
pub enum Flag {
l,
r,
e,
n,
m,
t,
i,
s,
d,
p,
}Expand description
Enum for bind flags
Variants§
l
Works when screen is locked
r
Activates on release
e
Repeats when held
n
Non-consuming, key/mouse events will be passed to the active window in addition to triggering the dispatcher.
m
Used for mouse binds
t
Transparent, cannot be shadowed by other binds.
i
Ignore mods, will ignore modifiers.
s
Separate, will arbitrarily combine keys between each mod/key
d
Has description, will allow you to write a description for your bind.
p
Bypasses the app’s requests to inhibit keybinds.
Trait Implementations§
impl Copy for Flag
impl Eq for Flag
impl StructuralPartialEq for Flag
Auto Trait Implementations§
impl Freeze for Flag
impl RefUnwindSafe for Flag
impl Send for Flag
impl Sync for Flag
impl Unpin for Flag
impl UnwindSafe for Flag
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more