/rust/registry/src/index.crates.io-6f17d22bba15001f/equator-0.4.2/src/spec.rs
Line | Count | Source (jump to first uncovered line) |
1 | | use crate::CmpDisplay; |
2 | | use core::fmt; |
3 | | |
4 | | pub mod by_val; |
5 | | pub mod debug; |
6 | | pub mod sized; |
7 | | |
8 | | impl<C, E: CmpDisplay<C, dyn fmt::Debug, dyn fmt::Debug>> |
9 | | CmpDisplay< |
10 | | by_val::CmpByValWrapper<sized::CmpSizedWrapper<debug::CmpDebugWrapper<C>>>, |
11 | | dyn fmt::Debug + 'static, |
12 | | dyn fmt::Debug + 'static, |
13 | | > for by_val::CmpByValWrapper<sized::CmpSizedWrapper<debug::CmpDebugWrapper<E>>> |
14 | | { |
15 | 0 | fn fmt( |
16 | 0 | &self, |
17 | 0 | cmp: &by_val::CmpByValWrapper<sized::CmpSizedWrapper<debug::CmpDebugWrapper<C>>>, |
18 | 0 | lhs: &(dyn fmt::Debug + 'static), |
19 | 0 | lhs_source: &str, |
20 | 0 | lhs_debug: &dyn fmt::Debug, |
21 | 0 | rhs: &(dyn fmt::Debug + 'static), |
22 | 0 | rhs_source: &str, |
23 | 0 | rhs_debug: &dyn fmt::Debug, |
24 | 0 | f: &mut fmt::Formatter, |
25 | 0 | ) -> fmt::Result { |
26 | 0 | self.0 .0 .0.fmt( |
27 | 0 | &cmp.0 .0 .0, |
28 | 0 | lhs, |
29 | 0 | lhs_source, |
30 | 0 | lhs_debug, |
31 | 0 | rhs, |
32 | 0 | rhs_source, |
33 | 0 | rhs_debug, |
34 | 0 | f, |
35 | 0 | ) |
36 | 0 | } Unexecuted instantiation: <equator::spec::by_val::CmpByValWrapper<equator::spec::sized::CmpSizedWrapper<equator::spec::debug::CmpDebugWrapper<equator::LeError>>> as equator::CmpDisplay<equator::spec::by_val::CmpByValWrapper<equator::spec::sized::CmpSizedWrapper<equator::spec::debug::CmpDebugWrapper<equator::Le>>>, dyn core::fmt::Debug, dyn core::fmt::Debug>>::fmt Unexecuted instantiation: <equator::spec::by_val::CmpByValWrapper<equator::spec::sized::CmpSizedWrapper<equator::spec::debug::CmpDebugWrapper<_>>> as equator::CmpDisplay<equator::spec::by_val::CmpByValWrapper<equator::spec::sized::CmpSizedWrapper<equator::spec::debug::CmpDebugWrapper<_>>>, dyn core::fmt::Debug, dyn core::fmt::Debug>>::fmt |
37 | | } |
38 | | |
39 | | #[repr(transparent)] |
40 | | pub struct Wrapper<T: ?Sized>(pub T); |