pub struct Facility {
pub type_name: &'static str,
pub arity: usize,
pub predefined_slot: Option<usize>,
pub usage_slot: Option<usize>,
pub members: &'static [&'static str],
}Expand description
One facility class and the slots that distinguish it.
Fields§
§type_name: &'static strSTEP type name, upper-case as stored.
arity: usizeAttribute count this class declares.
predefined_slot: Option<usize>Slot holding PredefinedType, when the class declares one.
usage_slot: Option<usize>Slot holding the mandatory UsageType; parts only.
members: &'static [&'static str]Permitted PredefinedType tokens for this exact class.
Implementations§
Trait Implementations§
impl Copy for Facility
impl Eq for Facility
impl StructuralPartialEq for Facility
Auto Trait Implementations§
impl Freeze for Facility
impl RefUnwindSafe for Facility
impl Send for Facility
impl Sync for Facility
impl Unpin for Facility
impl UnsafeUnpin for Facility
impl UnwindSafe for Facility
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