pub struct BuildingView {
pub id: String,
pub label: String,
pub x: f32,
pub y: f32,
pub width_m: f32,
pub depth_m: f32,
pub interior_origin_x: f32,
pub interior_origin_y: f32,
pub tags: Vec<String>,
}Fields§
§id: String§label: String§x: f32§y: f32§width_m: f32§depth_m: f32§interior_origin_x: f32Interior map origin (for wall rendering when player is inside).
interior_origin_y: f32Trait Implementations§
Source§impl Clone for BuildingView
impl Clone for BuildingView
Source§fn clone(&self) -> BuildingView
fn clone(&self) -> BuildingView
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 BuildingView
impl Debug for BuildingView
Source§impl<'de> Deserialize<'de> for BuildingView
impl<'de> Deserialize<'de> for BuildingView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BuildingView
impl PartialEq for BuildingView
Source§impl Serialize for BuildingView
impl Serialize for BuildingView
impl StructuralPartialEq for BuildingView
Auto Trait Implementations§
impl Freeze for BuildingView
impl RefUnwindSafe for BuildingView
impl Send for BuildingView
impl Sync for BuildingView
impl Unpin for BuildingView
impl UnsafeUnpin for BuildingView
impl UnwindSafe for BuildingView
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