pub struct RelationPair<A, B> {
pub left: A,
pub right: B,
}Expand description
A logical relation entry: a pair of elements in the relation.
Fields§
§left: ALeft component
right: BRight component
Trait Implementations§
Source§impl<A: Clone, B: Clone> Clone for RelationPair<A, B>
impl<A: Clone, B: Clone> Clone for RelationPair<A, B>
Source§fn clone(&self) -> RelationPair<A, B>
fn clone(&self) -> RelationPair<A, B>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<A, B> Freeze for RelationPair<A, B>
impl<A, B> RefUnwindSafe for RelationPair<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for RelationPair<A, B>
impl<A, B> Sync for RelationPair<A, B>
impl<A, B> Unpin for RelationPair<A, B>
impl<A, B> UnsafeUnpin for RelationPair<A, B>where
A: UnsafeUnpin,
B: UnsafeUnpin,
impl<A, B> UnwindSafe for RelationPair<A, B>where
A: UnwindSafe,
B: UnwindSafe,
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