#[non_exhaustive]pub enum CostAnomaly {
NestedTwice {
item: EntityId,
kept: EntityId,
rejected: EntityId,
relation: EntityId,
},
}Expand description
A nesting the file states but the schema forbids, and how it was resolved.
IFC4 IfcObjectDefinition.Nests and IFC2X3 Decomposes are both
SET [0:1]: a cost item has at most one parent. When a file names two,
the first IfcRelNests in file order wins everywhere (parent_of,
children_of, descendants_of, the rollups), so an item is never
counted under two parents. The losing claim is reported here.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NestedTwice
A cost item nested under two different parents.
Trait Implementations§
Source§impl Clone for CostAnomaly
impl Clone for CostAnomaly
Source§fn clone(&self) -> CostAnomaly
fn clone(&self) -> CostAnomaly
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 moreimpl Copy for CostAnomaly
Source§impl Debug for CostAnomaly
impl Debug for CostAnomaly
impl Eq for CostAnomaly
Source§impl PartialEq for CostAnomaly
impl PartialEq for CostAnomaly
impl StructuralPartialEq for CostAnomaly
Auto Trait Implementations§
impl Freeze for CostAnomaly
impl RefUnwindSafe for CostAnomaly
impl Send for CostAnomaly
impl Sync for CostAnomaly
impl Unpin for CostAnomaly
impl UnsafeUnpin for CostAnomaly
impl UnwindSafe for CostAnomaly
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