pub struct ByTransitivity<V1, V2, Mid = ()>(/* private fields */);Expand description
Chain two justifications: if Lhs = Mid via V1 and Mid = Rhs via V2.
Mid is carried as a type parameter to satisfy Rust’s coherence rules.
Trait Implementations§
impl<V1, V2, Lhs, Mid, Rhs> Justifies<Lhs, Rhs> for ByTransitivity<V1, V2, Mid>
Auto Trait Implementations§
impl<V1, V2, Mid> Freeze for ByTransitivity<V1, V2, Mid>
impl<V1, V2, Mid> RefUnwindSafe for ByTransitivity<V1, V2, Mid>
impl<V1, V2, Mid> Send for ByTransitivity<V1, V2, Mid>
impl<V1, V2, Mid> Sync for ByTransitivity<V1, V2, Mid>
impl<V1, V2, Mid> Unpin for ByTransitivity<V1, V2, Mid>
impl<V1, V2, Mid> UnsafeUnpin for ByTransitivity<V1, V2, Mid>
impl<V1, V2, Mid> UnwindSafe for ByTransitivity<V1, V2, Mid>
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