Struct nano_ogmo::LevelEntity
source · [−]pub struct LevelEntity {
pub name: String,
pub id: u32,
pub export_id: String,
pub x: i32,
pub y: i32,
pub origin_x: i32,
pub origin_y: i32,
pub values: Option<HashMap<String, String>>,
}
Fields
name: String
id: u32
export_id: String
x: i32
y: i32
origin_x: i32
origin_y: i32
values: Option<HashMap<String, String>>
Trait Implementations
sourceimpl Clone for LevelEntity
impl Clone for LevelEntity
sourcefn clone(&self) -> LevelEntity
fn clone(&self) -> LevelEntity
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl DeJson for LevelEntity
impl DeJson for LevelEntity
Auto Trait Implementations
impl RefUnwindSafe for LevelEntity
impl Send for LevelEntity
impl Sync for LevelEntity
impl Unpin for LevelEntity
impl UnwindSafe for LevelEntity
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