#[non_exhaustive]pub enum CatalogMemberForm {
SingleValue {
data_type: Option<String>,
},
EnumeratedValue {
data_type: Option<String>,
},
BoundedValue {
data_type: Option<String>,
},
ListValue {
data_type: Option<String>,
},
TableValue {
defining_type: Option<String>,
defined_type: Option<String>,
},
ReferenceValue {
reference_type: String,
},
Complex {
members: Vec<CatalogMember>,
},
Quantity(CatalogQuantityKind),
}Expand description
The entity form of a declared member, with the value types it declares.
A None value type means the catalog leaves it open: not checked.
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.
SingleValue
An IfcPropertySingleValue.
EnumeratedValue
An IfcPropertyEnumeratedValue.
BoundedValue
An IfcPropertyBoundedValue.
ListValue
An IfcPropertyListValue.
TableValue
An IfcPropertyTableValue.
Fields
ReferenceValue
An IfcPropertyReferenceValue.
Complex
An IfcComplexProperty grouping further properties.
Fields
§
members: Vec<CatalogMember>The declared nested members.
Quantity(CatalogQuantityKind)
A simple quantity of the given kind.
Implementations§
Source§impl CatalogMemberForm
impl CatalogMemberForm
Sourcepub fn entity_name(&self) -> &'static str
pub fn entity_name(&self) -> &'static str
The IFC entity this form is written as.
Trait Implementations§
Source§impl Clone for CatalogMemberForm
impl Clone for CatalogMemberForm
Source§fn clone(&self) -> CatalogMemberForm
fn clone(&self) -> CatalogMemberForm
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 CatalogMemberForm
impl Debug for CatalogMemberForm
impl Eq for CatalogMemberForm
Source§impl PartialEq for CatalogMemberForm
impl PartialEq for CatalogMemberForm
impl StructuralPartialEq for CatalogMemberForm
Auto Trait Implementations§
impl Freeze for CatalogMemberForm
impl RefUnwindSafe for CatalogMemberForm
impl Send for CatalogMemberForm
impl Sync for CatalogMemberForm
impl Unpin for CatalogMemberForm
impl UnsafeUnpin for CatalogMemberForm
impl UnwindSafe for CatalogMemberForm
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