pub struct BindFlags {
pub consume: bool,
pub repeat: bool,
}Expand description
How a binding treats a press.
Fields§
§consume: boolThe game does not see the press (it sees the release).
repeat: boolAlso the auto-repeat of a held key.
Trait Implementations§
impl Copy for BindFlags
impl Eq for BindFlags
impl StructuralPartialEq for BindFlags
Auto Trait Implementations§
impl Forget for BindFlags
impl Freeze for BindFlags
impl Move for BindFlags
impl RefUnwindSafe for BindFlags
impl Send for BindFlags
impl Sync for BindFlags
impl Unpin for BindFlags
impl UnsafeUnpin for BindFlags
impl UnwindSafe for BindFlags
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