pub struct RuleEntry {
pub id: &'static str,
pub entity: Option<&'static str>,
pub support: Support,
}Expand description
One registered rule.
Fields§
§id: &'static strStable rule id, e.g. IfcRoot.WR1 or global.IfcSingleProjectInstance.
entity: Option<&'static str>The entity the rule constrains, or None for a global rule.
support: SupportWhether it is evaluated.
Trait Implementations§
impl Copy for RuleEntry
impl Eq for RuleEntry
impl StructuralPartialEq for RuleEntry
Auto Trait Implementations§
impl Freeze for RuleEntry
impl RefUnwindSafe for RuleEntry
impl Send for RuleEntry
impl Sync for RuleEntry
impl Unpin for RuleEntry
impl UnsafeUnpin for RuleEntry
impl UnwindSafe for RuleEntry
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