pub struct Bijection<A: Eq + Hash + Clone, B: Eq + Hash + Clone> { /* private fields */ }Expand description
A bijective map between two sets (one-to-one and onto).
Useful for tracking variable renaming during alpha-equivalence checks.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<A, B> Freeze for Bijection<A, B>
impl<A, B> RefUnwindSafe for Bijection<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for Bijection<A, B>
impl<A, B> Sync for Bijection<A, B>
impl<A, B> Unpin for Bijection<A, B>
impl<A, B> UnsafeUnpin for Bijection<A, B>
impl<A, B> UnwindSafe for Bijection<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