pub struct GameObject {Show 22 fields
pub id: i32,
pub tile: i32,
pub x: i32,
pub y: i32,
pub sx: i32,
pub sy: i32,
pub frame: i32,
pub rotation: i32,
pub fid: i32,
pub flags: i32,
pub elevation: i32,
pub pid: i32,
pub cid: i32,
pub light_distance: i32,
pub light_intensity: i32,
pub outline: i32,
pub sid: i32,
pub script_index: i32,
pub inventory_length: i32,
pub inventory_capacity: i32,
pub object_data: ObjectData,
pub inventory: Vec<InventoryItem>,
}Fields§
§id: i32§tile: i32§x: i32§y: i32§sx: i32§sy: i32§frame: i32§rotation: i32§fid: i32§flags: i32§elevation: i32§pid: i32§cid: i32§light_distance: i32§light_intensity: i32§outline: i32§sid: i32§script_index: i32§inventory_length: i32§inventory_capacity: i32§object_data: ObjectData§inventory: Vec<InventoryItem>Implementations§
Source§impl GameObject
impl GameObject
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GameObject
impl RefUnwindSafe for GameObject
impl Send for GameObject
impl Sync for GameObject
impl Unpin for GameObject
impl UnsafeUnpin for GameObject
impl UnwindSafe for GameObject
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