File module

This commit is contained in:
Chadtech 2020-11-28 13:01:43 -05:00
parent 51bffc09a0
commit b0570aab99
2 changed files with 7 additions and 0 deletions

6
editor/src/file.rs Normal file
View file

@ -0,0 +1,6 @@
pub struct File {
path: String,
content: String,
}
impl File {}

View file

@ -22,6 +22,7 @@ use winit::event::{ElementState, ModifiersState, VirtualKeyCode};
use winit::event_loop::ControlFlow; use winit::event_loop::ControlFlow;
pub mod ast; pub mod ast;
mod file;
mod rect; mod rect;
pub mod text_state; pub mod text_state;
mod vertex; mod vertex;