pub struct KllDatastore<'a> {
pub scancode_range: Range<usize>,
pub unicode_strings: HashSet<String>,
pub unique_triggers: HashSet<Trigger<'a>>,
pub unique_results: HashSet<Action<'a>>,
pub unique_animations: HashSet<AnimationResult<'a>>,
}
Fields§
§scancode_range: Range<usize>
§unicode_strings: HashSet<String>
§unique_triggers: HashSet<Trigger<'a>>
§unique_results: HashSet<Action<'a>>
§unique_animations: HashSet<AnimationResult<'a>>
Implementations§
Source§impl<'a> KllDatastore<'a>
impl<'a> KllDatastore<'a>
pub fn get_scancode_range(state: &KllState<'_>) -> Range<usize> ⓘ
pub fn new(state: &'a KllState<'a>) -> KllDatastore<'a>
Trait Implementations§
Source§impl<'a> Clone for KllDatastore<'a>
impl<'a> Clone for KllDatastore<'a>
Source§fn clone(&self) -> KllDatastore<'a>
fn clone(&self) -> KllDatastore<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for KllDatastore<'a>
impl<'a> Debug for KllDatastore<'a>
Source§impl<'a> Default for KllDatastore<'a>
impl<'a> Default for KllDatastore<'a>
Source§fn default() -> KllDatastore<'a>
fn default() -> KllDatastore<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for KllDatastore<'a>
impl<'a> RefUnwindSafe for KllDatastore<'a>
impl<'a> Send for KllDatastore<'a>
impl<'a> Sync for KllDatastore<'a>
impl<'a> Unpin for KllDatastore<'a>
impl<'a> UnwindSafe for KllDatastore<'a>
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