pub enum SpatialNodeType {
Project,
Site,
Building,
Storey,
Space,
Element,
Facility,
FacilityPart,
}Expand description
Type of spatial structure node
Variants§
Project
IfcProject - root of the hierarchy
Site
IfcSite - geographic site
Building
IfcBuilding - a building structure
Storey
IfcBuildingStorey - a floor/level
Space
IfcSpace - a room or area
Element
Building element (wall, door, etc.)
Facility
IFC4x3 Facility (road, bridge, etc.)
FacilityPart
IFC4x3 Facility part
Implementations§
Source§impl SpatialNodeType
impl SpatialNodeType
Sourcepub fn display_name(&self) -> &'static str
pub fn display_name(&self) -> &'static str
Get display name for UI
Sourcepub fn from_ifc_type(ifc_type: &IfcType) -> Self
pub fn from_ifc_type(ifc_type: &IfcType) -> Self
Determine node type from IFC type
Trait Implementations§
Source§impl Clone for SpatialNodeType
impl Clone for SpatialNodeType
Source§fn clone(&self) -> SpatialNodeType
fn clone(&self) -> SpatialNodeType
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 SpatialNodeType
impl Debug for SpatialNodeType
Source§impl<'de> Deserialize<'de> for SpatialNodeType
impl<'de> Deserialize<'de> for SpatialNodeType
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 Hash for SpatialNodeType
impl Hash for SpatialNodeType
Source§impl PartialEq for SpatialNodeType
impl PartialEq for SpatialNodeType
Source§impl Serialize for SpatialNodeType
impl Serialize for SpatialNodeType
impl Copy for SpatialNodeType
impl Eq for SpatialNodeType
impl StructuralPartialEq for SpatialNodeType
Auto Trait Implementations§
impl Freeze for SpatialNodeType
impl RefUnwindSafe for SpatialNodeType
impl Send for SpatialNodeType
impl Sync for SpatialNodeType
impl Unpin for SpatialNodeType
impl UnsafeUnpin for SpatialNodeType
impl UnwindSafe for SpatialNodeType
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