pub struct Object {Show 15 fields
pub id: i64,
pub name: Option<String>,
pub object_type: Option<String>,
pub x: f32,
pub y: f32,
pub width: f32,
pub height: f32,
pub rotation: f32,
pub gid: Option<i64>,
pub visible: bool,
pub template: Option<String>,
pub properties: Option<Vec<Property>>,
pub flipped_horizontally: bool,
pub flipped_vertically: bool,
pub flipped_diagonally: bool,
}
Fields§
§id: i64
§name: Option<String>
§object_type: Option<String>
§x: f32
§y: f32
§width: f32
§height: f32
§rotation: f32
§gid: Option<i64>
§visible: bool
§template: Option<String>
§properties: Option<Vec<Property>>
§flipped_horizontally: bool
§flipped_vertically: bool
§flipped_diagonally: bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Object
impl RefUnwindSafe for Object
impl Send for Object
impl Sync for Object
impl Unpin for Object
impl UnwindSafe for Object
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more