pub struct StoreyInfo {
pub id: EntityId,
pub name: String,
pub elevation: f32,
pub element_count: usize,
}Expand description
Building storey information
Fields§
§id: EntityIdEntity ID
name: StringStorey name
elevation: f32Elevation in meters
element_count: usizeNumber of elements in this storey
Implementations§
Trait Implementations§
Source§impl Clone for StoreyInfo
impl Clone for StoreyInfo
Source§fn clone(&self) -> StoreyInfo
fn clone(&self) -> StoreyInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 StoreyInfo
impl Debug for StoreyInfo
Source§impl<'de> Deserialize<'de> for StoreyInfo
impl<'de> Deserialize<'de> for StoreyInfo
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 StoreyInfo
impl PartialEq for StoreyInfo
Source§impl Serialize for StoreyInfo
impl Serialize for StoreyInfo
impl StructuralPartialEq for StoreyInfo
Auto Trait Implementations§
impl Freeze for StoreyInfo
impl RefUnwindSafe for StoreyInfo
impl Send for StoreyInfo
impl Sync for StoreyInfo
impl Unpin for StoreyInfo
impl UnsafeUnpin for StoreyInfo
impl UnwindSafe for StoreyInfo
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