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: Stringogmo_version: Stringlevel_paths: Vec<String>background_color: Stringgrid_color: Stringis_angles_radians: booldirectory_depth: u32layer_grid_default_size: Vec2i32level_default_size: Vec2i32level_min_size: Vec2i32level_max_size: Vec2i32layers: Vec<ProjectLayer>entities: Vec<ProjectEntity>tilesets: Vec<Tileset>

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Parse Self from the input string. Read more

Parse Self from the input string. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.