pub struct Project {Show 14 fields
pub name: String,
pub ogmo_version: String,
pub level_paths: Vec<String>,
pub background_color: String,
pub grid_color: String,
pub is_angles_radians: bool,
pub directory_depth: u32,
pub layer_grid_default_size: Vec2i32,
pub level_default_size: Vec2i32,
pub level_min_size: Vec2i32,
pub level_max_size: Vec2i32,
pub layers: Vec<ProjectLayer>,
pub entities: Vec<ProjectEntity>,
pub tilesets: Vec<Tileset>,
}
Fields
name: String
ogmo_version: String
level_paths: Vec<String>
background_color: String
grid_color: String
is_angles_radians: bool
directory_depth: u32
layer_grid_default_size: Vec2i32
level_default_size: Vec2i32
level_min_size: Vec2i32
level_max_size: Vec2i32
layers: Vec<ProjectLayer>
entities: Vec<ProjectEntity>
tilesets: Vec<Tileset>
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Project
impl Send for Project
impl Sync for Project
impl Unpin for Project
impl UnwindSafe for Project
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more