#[non_exhaustive]pub struct AttrSlot {
pub index: usize,
pub kind: AttrKind,
pub aggregate: bool,
pub optional: bool,
}Expand description
One declared attribute of an entity in one schema.
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.index: usizePosition in the STEP record (supertype attributes first), as
DecodedEntity::get indexes it.
kind: AttrKindThe resolved value kind.
aggregate: boolThe value may be written as a STEP list: a LIST/SET/ARRAY, a defined
type that is one, or a select with such an alternative (for example
IfcRelDefinesByProperties.RelatingPropertyDefinition).
optional: boolThe EXPRESS declaration says OPTIONAL.
Trait Implementations§
impl Copy for AttrSlot
impl Eq for AttrSlot
impl StructuralPartialEq for AttrSlot
Auto Trait Implementations§
impl Freeze for AttrSlot
impl RefUnwindSafe for AttrSlot
impl Send for AttrSlot
impl Sync for AttrSlot
impl Unpin for AttrSlot
impl UnwindSafe for AttrSlot
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