pub struct ValueFactId(/* private fields */);Expand description
Identity of an attribute value declaration.
Implementations§
Source§impl ValueFactId
impl ValueFactId
Sourcepub const fn new(attribute: AttributeId) -> Self
pub const fn new(attribute: AttributeId) -> Self
Construct an attribute value-fact identity.
Sourcepub const fn attribute(&self) -> &AttributeId
pub const fn attribute(&self) -> &AttributeId
Return the attribute identity.
Trait Implementations§
Source§impl Clone for ValueFactId
impl Clone for ValueFactId
Source§fn clone(&self) -> ValueFactId
fn clone(&self) -> ValueFactId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ValueFactId
impl Debug for ValueFactId
impl Eq for ValueFactId
Source§impl Hash for ValueFactId
impl Hash for ValueFactId
Source§impl Ord for ValueFactId
impl Ord for ValueFactId
Source§fn cmp(&self, other: &ValueFactId) -> Ordering
fn cmp(&self, other: &ValueFactId) -> Ordering
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 PartialEq for ValueFactId
impl PartialEq for ValueFactId
Source§impl PartialOrd for ValueFactId
impl PartialOrd for ValueFactId
Source§impl Serialize for ValueFactId
impl Serialize for ValueFactId
impl StructuralPartialEq for ValueFactId
Auto Trait Implementations§
impl Freeze for ValueFactId
impl RefUnwindSafe for ValueFactId
impl Send for ValueFactId
impl Sync for ValueFactId
impl Unpin for ValueFactId
impl UnsafeUnpin for ValueFactId
impl UnwindSafe for ValueFactId
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