pub struct ValueFact { /* private fields */ }Expand description
An attribute scalar-domain fact.
Implementations§
Source§impl ValueFact
impl ValueFact
Sourcepub const fn new(id: ValueFactId, value_type: ValueTypeTag) -> Self
pub const fn new(id: ValueFactId, value_type: ValueTypeTag) -> Self
Construct an attribute scalar-domain fact.
Sourcepub const fn id(&self) -> &ValueFactId
pub const fn id(&self) -> &ValueFactId
Return the fact identity.
Sourcepub const fn value_type(&self) -> ValueTypeTag
pub const fn value_type(&self) -> ValueTypeTag
Return the scalar domain.
Trait Implementations§
impl Eq for ValueFact
impl StructuralPartialEq for ValueFact
Auto Trait Implementations§
impl Freeze for ValueFact
impl RefUnwindSafe for ValueFact
impl Send for ValueFact
impl Sync for ValueFact
impl Unpin for ValueFact
impl UnsafeUnpin for ValueFact
impl UnwindSafe for ValueFact
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