Home
last modified time | relevance | path

Searched refs:file (Results 1 – 5 of 5) sorted by relevance

/StarryEngine/starry_server/src/core/input/
H A Dinputs.rs42 file: File, field
57 let file = File::open(MOUSE_DEVICE_PATH).expect("Fail to open mouse device"); in new() localVariable
62 file: file, in new()
72 self.file.by_ref() in get_listening_file()
75 fn set_listening_file(&mut self, file: File) { in set_listening_file()
76 self.file = file; in set_listening_file()
134 file: File, field
139 let file = File::open(KBD_DEVICE_PATH).expect("Fail to open mouse device"); in new() localVariable
141 Box::new(KeyboardInputHandler { file: file }) in new()
147 &self.file in get_listening_file()
[all …]
H A Dmod.rs57 fn set_listening_file(&mut self, file: File); in set_listening_file()
65 let mut file = self.get_listening_file(); in polling() localVariable
66 let result = file.read(&mut buf); in polling()
69 println!("[Error] Filed to polling file {:?}", file); in polling()
/StarryEngine/starry_server/src/
H A Dconfig.rs79 Ok(mut file) => match file.read_to_string(&mut string) { in config_from_path()
/StarryEngine/starry_client/src/font/
H A Dunifont-license.txt321 to attach them to the start of each source file to most effectively
322 convey the exclusion of warranty; and each file should have at least
/StarryEngine/
H A DLICENSE630 to attach them to the start of each source file to most effectively
631 state the exclusion of warranty; and each file should have at least