#[non_exhaustive]pub enum SpatialAnomaly {
ContainedTwice {
element: EntityId,
kept: EntityId,
rejected: EntityId,
relation: EntityId,
},
AggregatedTwice {
child: EntityId,
kept: EntityId,
rejected: EntityId,
relation: EntityId,
},
}Expand description
A second parent the schema forbids, recorded instead of silently dropped.
Both IfcElement.ContainedInStructure and IfcObjectDefinition.Decomposes
are SET [0:1]. A file naming two parents is malformed; the first
relationship processed wins so the tree stays a tree, and the loser is
reported here. Every view of the tree agrees with the kept answer.
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.
ContainedTwice
An element placed in two different spatial structures.
Fields
AggregatedTwice
A container aggregated by two different parents.
Trait Implementations§
Source§impl Clone for SpatialAnomaly
impl Clone for SpatialAnomaly
impl Copy for SpatialAnomaly
Source§impl Debug for SpatialAnomaly
impl Debug for SpatialAnomaly
impl Eq for SpatialAnomaly
Source§impl PartialEq for SpatialAnomaly
impl PartialEq for SpatialAnomaly
impl StructuralPartialEq for SpatialAnomaly
Auto Trait Implementations§
impl Freeze for SpatialAnomaly
impl RefUnwindSafe for SpatialAnomaly
impl Send for SpatialAnomaly
impl Sync for SpatialAnomaly
impl Unpin for SpatialAnomaly
impl UnsafeUnpin for SpatialAnomaly
impl UnwindSafe for SpatialAnomaly
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