#[repr(u8)]pub enum NodeKind {
Element = 1,
PropertySet = 2,
QuantitySet = 3,
Relationship = 4,
Geometry = 5,
NameBag = 6,
Attributes = 7,
TypeAssignment = 8,
}Expand description
What a node is.
Tags are stable and may not be renumbered: a tag is part of the hashed header, so changing one rewrites every address of that kind.
Variants§
Element = 1
One element’s folded components. Composite.
PropertySet = 2
A named set of properties. Shared by many occurrences through
IfcRelDefinesByProperties, which is why it is a node: one edit must be
one change, not N.
QuantitySet = 3
A named set of quantities. Same argument.
Relationship = 4
A named IFC relationship. Its identity is its endpoints, which are node
addresses — see Node::Relationship for what that drops.
Geometry = 5
Tessellated or parametric geometry for one element, by tier.
NameBag = 6
A resolved name bag: materials or classification references.
Attributes = 7
One element’s direct attributes, the attr:core component.
TypeAssignment = 8
An element’s assigned types, by name and class.
Trait Implementations§
Source§impl Ord for NodeKind
impl Ord for NodeKind
Source§impl PartialOrd for NodeKind
impl PartialOrd for NodeKind
impl Copy for NodeKind
impl Eq for NodeKind
impl StructuralPartialEq for NodeKind
Auto Trait Implementations§
impl Freeze for NodeKind
impl RefUnwindSafe for NodeKind
impl Send for NodeKind
impl Sync for NodeKind
impl Unpin for NodeKind
impl UnwindSafe for NodeKind
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