#[non_exhaustive]pub struct ExactEnumeratedValue {
pub values: Vec<ExactTypedValue>,
pub enumeration: Option<ExactEnumeration>,
}Expand description
An IfcPropertyEnumeratedValue: the selected values and the
enumeration they are selected from.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.values: Vec<ExactTypedValue>EnumerationValues, in file order. Empty only when the attribute is
$, which IFC4 and IFC4X3 allow (no value selected); IFC2X3
requires it, and a present list is never empty (LIST [1:?]).
enumeration: Option<ExactEnumeration>EnumerationReference, when stated. Every selected value is one of
its values (the release’s WHERE rule is checked).
Trait Implementations§
Source§impl Clone for ExactEnumeratedValue
impl Clone for ExactEnumeratedValue
Source§impl Debug for ExactEnumeratedValue
impl Debug for ExactEnumeratedValue
Source§impl PartialEq for ExactEnumeratedValue
impl PartialEq for ExactEnumeratedValue
impl StructuralPartialEq for ExactEnumeratedValue
Auto Trait Implementations§
impl Freeze for ExactEnumeratedValue
impl RefUnwindSafe for ExactEnumeratedValue
impl Send for ExactEnumeratedValue
impl Sync for ExactEnumeratedValue
impl Unpin for ExactEnumeratedValue
impl UnsafeUnpin for ExactEnumeratedValue
impl UnwindSafe for ExactEnumeratedValue
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