pub struct FactMapping {
pub fact: Name,
pub claim: Name,
}Expand description
One owner fact mapped to the claim that permits pressure on it.
Both are names the consumer declares. This home resolves neither and admits any pair, because which facts exist and which claims cover them is the declaration’s whole subject.
Fields§
§fact: NameThe owner fact pressure is applied to.
claim: NameThe claim that permits it.
Trait Implementations§
Source§impl Clone for FactMapping
impl Clone for FactMapping
Source§fn clone(&self) -> FactMapping
fn clone(&self) -> FactMapping
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 FactMapping
impl Debug for FactMapping
impl Eq for FactMapping
Source§impl Hash for FactMapping
impl Hash for FactMapping
Source§impl PartialEq for FactMapping
impl PartialEq for FactMapping
impl StructuralPartialEq for FactMapping
Auto Trait Implementations§
impl Freeze for FactMapping
impl RefUnwindSafe for FactMapping
impl Send for FactMapping
impl Sync for FactMapping
impl Unpin for FactMapping
impl UnsafeUnpin for FactMapping
impl UnwindSafe for FactMapping
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