pub struct StateConfig {
pub mouse: MouseConfig,
pub key_resolver: KeyResolverConfig,
}
Expand description
Configuration to initialize the keyboard state.
Fields§
§mouse: MouseConfig
§key_resolver: KeyResolverConfig
Trait Implementations§
Source§impl Clone for StateConfig
impl Clone for StateConfig
Source§fn clone(&self) -> StateConfig
fn clone(&self) -> StateConfig
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 StateConfig
impl Debug for StateConfig
Source§impl Format for StateConfig
impl Format for StateConfig
Source§impl PartialEq for StateConfig
impl PartialEq for StateConfig
impl Eq for StateConfig
impl StructuralPartialEq for StateConfig
Auto Trait Implementations§
impl Freeze for StateConfig
impl RefUnwindSafe for StateConfig
impl Send for StateConfig
impl Sync for StateConfig
impl Unpin for StateConfig
impl UnwindSafe for StateConfig
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