#[non_exhaustive]pub enum CatalogMismatch {
UndeclaredMember,
SetKind {
declared: String,
found: String,
},
Form {
declared: String,
found: String,
},
DataType {
declared: String,
found: String,
},
}Expand description
How a set or member disagrees with its catalog template.
Names are in the schema’s spelling (IfcLabel), never the upper-cased
token a file writes.
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.
UndeclaredMember
The catalog declares no member of that name.
SetKind
The set is an IfcPropertySet where the catalog declares a quantity
set, or the reverse.
Form
The member is written as another entity than the catalog declares.
DataType
A value has another type than the catalog declares.
Trait Implementations§
Source§impl Clone for CatalogMismatch
impl Clone for CatalogMismatch
Source§fn clone(&self) -> CatalogMismatch
fn clone(&self) -> CatalogMismatch
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 CatalogMismatch
impl Debug for CatalogMismatch
impl Eq for CatalogMismatch
Source§impl PartialEq for CatalogMismatch
impl PartialEq for CatalogMismatch
impl StructuralPartialEq for CatalogMismatch
Auto Trait Implementations§
impl Freeze for CatalogMismatch
impl RefUnwindSafe for CatalogMismatch
impl Send for CatalogMismatch
impl Sync for CatalogMismatch
impl Unpin for CatalogMismatch
impl UnsafeUnpin for CatalogMismatch
impl UnwindSafe for CatalogMismatch
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