pub struct AttributeInfo {
pub name: String,
pub index: usize,
pub type_name: String,
pub optional: bool,
pub aggregate: bool,
pub derived: bool,
pub declared_by: String,
}Expand description
One explicit attribute of an entity, as its declared release defines it.
Fields§
§name: StringThe declared name, in the schema’s spelling.
index: usizeZero-based slot in the STEP record: the index of
IfcModel::attribute.
type_name: StringThe declared type, or an aggregate’s innermost element type.
optional: boolWhether $ is a valid value.
aggregate: boolWhether the type is a LIST, SET, BAG or ARRAY.
derived: boolWhether the slot is derived for this entity (written *; not
writable).
declared_by: StringThe entity whose declaration introduces the attribute.
Trait Implementations§
Source§impl Clone for AttributeInfo
impl Clone for AttributeInfo
Source§fn clone(&self) -> AttributeInfo
fn clone(&self) -> AttributeInfo
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 AttributeInfo
impl Debug for AttributeInfo
impl Eq for AttributeInfo
Source§impl PartialEq for AttributeInfo
impl PartialEq for AttributeInfo
impl StructuralPartialEq for AttributeInfo
Auto Trait Implementations§
impl Freeze for AttributeInfo
impl RefUnwindSafe for AttributeInfo
impl Send for AttributeInfo
impl Sync for AttributeInfo
impl Unpin for AttributeInfo
impl UnsafeUnpin for AttributeInfo
impl UnwindSafe for AttributeInfo
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.