Searched refs:File (Results 1 – 8 of 8) sorted by relevance
/StarryEngine/starry_server/src/core/input/ |
H A D | inputs.rs | 4 use std::{fs::File, io::Read}; 42 file: File, 57 let file = File::open(MOUSE_DEVICE_PATH).expect("Fail to open mouse device"); in new() 71 fn get_listening_file(&mut self) -> &File { in get_listening_file() argument 75 fn set_listening_file(&mut self, file: File) { in set_listening_file() argument 134 file: File, 139 let file = File::open(KBD_DEVICE_PATH).expect("Fail to open mouse device"); in new() 146 fn get_listening_file(&mut self) -> &File { in get_listening_file() argument 150 fn set_listening_file(&mut self, file: File) { in set_listening_file() argument
|
H A D | mod.rs | 1 use std::{cell::RefCell, fs::File, io::Read, sync::Arc}; 54 fn get_listening_file(&mut self) -> &File; in get_listening_file() argument 57 fn set_listening_file(&mut self, file: File); in set_listening_file() argument
|
/StarryEngine/starry_client/src/ |
H A D | window.rs | 4 fs::File, 41 file_opt: Option<File>, 47 fb_file: File, 108 fb_file: File::open(FB_FILE_PATH).expect("[Error] Window failed to open fb file"), in new()
|
/StarryEngine/starry_client/src/font/ |
H A D | unifont.rs | 3 use std::fs::File; 7 let input = File::open("unifont.hex").unwrap(); in main() 8 let mut output = File::create("unifont.font").unwrap(); in main()
|
/StarryEngine/starry_server/src/core/ |
H A D | compositor.rs | 3 fs::File, 29 fb_file: RefCell<File>, 39 File::open(FB_FILE_PATH).expect("[Error] Compositor failed to open fb file"), in new()
|
/StarryEngine/starry_server/src/ |
H A D | config.rs | 1 use std::{fs::File, io::Read}; 78 match File::open(path) { in config_from_path()
|
/StarryEngine/starry_toolkit/src/base/ |
H A D | panel.rs | 10 fs::File, 97 tty_file: RefCell<File>, 121 File::open(TTY_DEVICE_PATH).expect("[Error] Panel failed to open tty file"), in from_window()
|
/StarryEngine/starry_server/src/base/ |
H A D | window.rs | 1 use std::fs::File; 46 pub file_opt: Option<File>,
|