pub struct CheckKeys {
pub rust: Vec<String>,
pub assets: Vec<String>,
pub not_text: Vec<String>,
pub key_files: Vec<String>,
pub platform_file: String,
pub test_support: Vec<String>,
pub picture_files: Vec<String>,
pub hint: String,
}Expand description
What check-keys scans and lets through.
Fields§
§rust: Vec<String>Rust source folders scanned (tests left out).
assets: Vec<String>Asset folders whose .ron and .dlg text is scanned.
not_text: Vec<String>Asset files that are no player text: the keymap file, which names keys by design.
key_files: Vec<String>The key pipeline: files that may name key and button types and key names.
platform_file: StringThe only file that may read the keyboard (KeyCode, is_key_down,
…).
test_support: Vec<String>Files only compiled for tests (besides tests.rs, *_tests.rs and
tests/).
picture_files: Vec<String>Files where a comment marking a keyboard picture (the text of
check_keys::MARKER) is honoured.
hint: StringWhat every error says to do about it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CheckKeys
impl<'de> Deserialize<'de> for CheckKeys
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
impl Eq for CheckKeys
impl StructuralPartialEq for CheckKeys
Auto Trait Implementations§
impl Freeze for CheckKeys
impl RefUnwindSafe for CheckKeys
impl Send for CheckKeys
impl Sync for CheckKeys
impl Unpin for CheckKeys
impl UnsafeUnpin for CheckKeys
impl UnwindSafe for CheckKeys
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.