pub struct TagEq<TagA, TagB> { /* private fields */ }Expand description
A proof that two tags refer to equal lengths.
This guarantees that indices of A and B can be used interchangeably.
Implementations§
Trait Implementations§
impl<TagA: Copy, TagB: Copy> Copy for TagEq<TagA, TagB>
Auto Trait Implementations§
impl<TagA, TagB> Freeze for TagEq<TagA, TagB>
impl<TagA, TagB> RefUnwindSafe for TagEq<TagA, TagB>where
TagA: RefUnwindSafe,
TagB: RefUnwindSafe,
impl<TagA, TagB> Send for TagEq<TagA, TagB>
impl<TagA, TagB> Sync for TagEq<TagA, TagB>
impl<TagA, TagB> Unpin for TagEq<TagA, TagB>
impl<TagA, TagB> UnwindSafe for TagEq<TagA, TagB>where
TagA: UnwindSafe,
TagB: 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