Struct nano_ogmo::ProjectEntity
source · [−]pub struct ProjectEntity {Show 24 fields
pub name: String,
pub limit: i32,
pub size: Vec2i32,
pub origin: Vec2i32,
pub shape: Shape,
pub color: String,
pub rotatable: bool,
pub tags: Vec<String>,
pub values: Vec<Value>,
pub export_id: String,
pub origin_anchored: bool,
pub tile_x: bool,
pub tile_y: bool,
pub tile_size: Vec2i32,
pub resizeable_x: bool,
pub resizeable_y: bool,
pub rotation_degrees: i32,
pub can_flip_x: bool,
pub can_flip_y: bool,
pub can_set_color: bool,
pub has_nodes: bool,
pub node_limit: u32,
pub node_display: u32,
pub node_ghost: bool,
}
Fields
name: String
limit: i32
size: Vec2i32
origin: Vec2i32
shape: Shape
color: String
rotatable: bool
values: Vec<Value>
export_id: String
origin_anchored: bool
tile_x: bool
tile_y: bool
tile_size: Vec2i32
resizeable_x: bool
resizeable_y: bool
rotation_degrees: i32
can_flip_x: bool
can_flip_y: bool
can_set_color: bool
has_nodes: bool
node_limit: u32
node_display: u32
node_ghost: bool
Trait Implementations
sourceimpl Clone for ProjectEntity
impl Clone for ProjectEntity
sourcefn clone(&self) -> ProjectEntity
fn clone(&self) -> ProjectEntity
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 ProjectEntity
impl DeJson for ProjectEntity
Auto Trait Implementations
impl RefUnwindSafe for ProjectEntity
impl Send for ProjectEntity
impl Sync for ProjectEntity
impl Unpin for ProjectEntity
impl UnwindSafe for ProjectEntity
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