pub struct SpatialNode {
pub id: u64,
pub global_id: Option<String>,
pub name: Option<String>,
pub type_name: String,
pub kind: String,
pub parent: Option<u64>,
pub children: Vec<u64>,
pub elements: Vec<u64>,
pub referenced: Vec<u64>,
}Expand description
One spatial container.
Fields§
§id: u64The container’s entity id.
global_id: Option<String>Its GlobalId.
name: Option<String>Its Name.
type_name: StringIts entity type, upper-case.
kind: Stringproject, site, building, storey, space or other (a
spatial zone, an IFC4X3 facility or facility part, …).
parent: Option<u64>The container it is aggregated into.
children: Vec<u64>Sub-containers, in file order.
elements: Vec<u64>Elements contained directly, in file order.
referenced: Vec<u64>Elements referenced (IfcRelReferencedInSpatialStructure), not
contained.
Trait Implementations§
Source§impl Clone for SpatialNode
impl Clone for SpatialNode
Source§fn clone(&self) -> SpatialNode
fn clone(&self) -> SpatialNode
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 SpatialNode
impl Debug for SpatialNode
Source§impl PartialEq for SpatialNode
impl PartialEq for SpatialNode
impl StructuralPartialEq for SpatialNode
Auto Trait Implementations§
impl Freeze for SpatialNode
impl RefUnwindSafe for SpatialNode
impl Send for SpatialNode
impl Sync for SpatialNode
impl Unpin for SpatialNode
impl UnsafeUnpin for SpatialNode
impl UnwindSafe for SpatialNode
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