pub struct SupertypeKind {
pub type_name: &'static str,
pub arity: usize,
}Expand description
A type definition with no PredefinedType enum.
The three arities are the three inheritance depths: IfcTypeObject
stops at HasPropertySets, IfcTypeProduct adds
RepresentationMaps and Tag, and the element types add
ElementType. Writing all seven at one arity would leave trailing
slots on the shallow ones and truncate the deep ones.
Fields§
§type_name: &'static strSTEP type name, upper-case as stored.
Upper-case because Entity::new does not normalise and the model
indexes by the stored string: a mixed-case record is invisible to
of_type lookups that use the catalogue’s own spelling.
arity: usizeTotal attribute count, including inherited.
Trait Implementations§
Source§impl Clone for SupertypeKind
impl Clone for SupertypeKind
impl Copy for SupertypeKind
Source§impl Debug for SupertypeKind
impl Debug for SupertypeKind
impl Eq for SupertypeKind
Source§impl PartialEq for SupertypeKind
impl PartialEq for SupertypeKind
impl StructuralPartialEq for SupertypeKind
Auto Trait Implementations§
impl Freeze for SupertypeKind
impl RefUnwindSafe for SupertypeKind
impl Send for SupertypeKind
impl Sync for SupertypeKind
impl Unpin for SupertypeKind
impl UnsafeUnpin for SupertypeKind
impl UnwindSafe for SupertypeKind
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