pub struct PlacedStructure {
pub template: String,
pub x: i32,
pub y: i32,
pub a: i32,
pub b: i32,
pub rotation: i32,
}Expand description
A building placed relative to the start point of a new town.
Original: FUN_1400a7490.
Fields§
§template: StringThe template.
x: i32Offset from the start point in cells.
y: i32The offset from the start point in cells, along y.
a: i32Not identified yet.
b: i32Not identified yet.
rotation: i32Rotation in degrees.
Trait Implementations§
Source§impl Clone for PlacedStructure
impl Clone for PlacedStructure
Source§fn clone(&self) -> PlacedStructure
fn clone(&self) -> PlacedStructure
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlacedStructure
impl Debug for PlacedStructure
impl Eq for PlacedStructure
Source§impl PartialEq for PlacedStructure
impl PartialEq for PlacedStructure
impl StructuralPartialEq for PlacedStructure
Auto Trait Implementations§
impl Freeze for PlacedStructure
impl RefUnwindSafe for PlacedStructure
impl Send for PlacedStructure
impl Sync for PlacedStructure
impl Unpin for PlacedStructure
impl UnsafeUnpin for PlacedStructure
impl UnwindSafe for PlacedStructure
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