pub enum FactKind {
Type,
Sub,
Value,
Owns,
Relates,
RelatesSpecialization,
Plays,
Function,
Struct,
}Expand description
Schema fact category addressed by a lowering rule.
Variants§
Type
Type declaration fact.
Sub
Direct subtype fact.
Value
Attribute value-type fact.
Owns
Attribute ownership fact.
Relates
Relation role declaration fact.
RelatesSpecialization
Relation role specialization fact.
Plays
Role-playing fact.
Function
Function declaration fact.
Struct
Struct declaration fact.
Implementations§
Trait Implementations§
impl Copy for FactKind
impl Eq for FactKind
Source§impl Ord for FactKind
impl Ord for FactKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for FactKind
impl PartialOrd for FactKind
impl StructuralPartialEq for FactKind
Auto Trait Implementations§
impl Freeze for FactKind
impl RefUnwindSafe for FactKind
impl Send for FactKind
impl Sync for FactKind
impl Unpin for FactKind
impl UnsafeUnpin for FactKind
impl UnwindSafe for FactKind
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