pub struct Rebuild {
pub template: usize,
pub cell: (i32, i32),
pub footprint: (i32, i32),
pub yaw: f32,
pub position: [f32; 3],
pub variant: usize,
}Expand description
An entity put in a torn-down building’s place: its template over the same map rectangle, turned as it was, with its model’s position and variant.
Original: FUN_1401215f0.
Fields§
§template: usizeThe template.
cell: (i32, i32)The map cell.
footprint: (i32, i32)The footprint.
yaw: f32The heading, in degrees.
position: [f32; 3]The model’s position.
variant: usizeThe model variant.
Trait Implementations§
impl Copy for Rebuild
impl StructuralPartialEq for Rebuild
Auto Trait Implementations§
impl Freeze for Rebuild
impl RefUnwindSafe for Rebuild
impl Send for Rebuild
impl Sync for Rebuild
impl Unpin for Rebuild
impl UnsafeUnpin for Rebuild
impl UnwindSafe for Rebuild
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