pub struct Specialisation {
pub subtype: &'static str,
pub supertype: &'static str,
pub added_attributes: &'static [&'static str],
pub rationale: &'static str,
}Expand description
A subtype the supertype’s lowering handles exactly.
Routing a subtype to its supertype’s lowerer is exact only when every
attribute and rule the subtype adds either leaves the shape unchanged or
is checked by that lowerer. tests/schema_coverage.rs asserts each row
against the IFC4X3 schema: the subtype relation, the added attributes,
and that both names are in IMPLEMENTED.
Fields§
§subtype: &'static strThe subtype as a STEP type name.
supertype: &'static strThe supertype whose lowering it is routed to.
added_attributes: &'static [&'static str]The explicit attributes the subtype declares, in schema order.
rationale: &'static strWhy the supertype’s lowering is exact for it.
Trait Implementations§
Source§impl Clone for Specialisation
impl Clone for Specialisation
impl Copy for Specialisation
Source§impl Debug for Specialisation
impl Debug for Specialisation
impl Eq for Specialisation
Source§impl PartialEq for Specialisation
impl PartialEq for Specialisation
impl StructuralPartialEq for Specialisation
Auto Trait Implementations§
impl Freeze for Specialisation
impl RefUnwindSafe for Specialisation
impl Send for Specialisation
impl Sync for Specialisation
impl Unpin for Specialisation
impl UnsafeUnpin for Specialisation
impl UnwindSafe for Specialisation
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