pub trait WindowComparatorExt<UC, LC> {
// Required method
fn window_comparator<I: PositiveInput<UC>, L: NegativeInput<LC>, U: NegativeInput<UC>>(
self,
input: I,
lower_threshold: L,
upper_threshold: U,
config: Config,
clocks: &Clocks,
) -> WindowComparator<UC, LC, Disabled>;
}
Required Methods§
Sourcefn window_comparator<I: PositiveInput<UC>, L: NegativeInput<LC>, U: NegativeInput<UC>>(
self,
input: I,
lower_threshold: L,
upper_threshold: U,
config: Config,
clocks: &Clocks,
) -> WindowComparator<UC, LC, Disabled>
fn window_comparator<I: PositiveInput<UC>, L: NegativeInput<LC>, U: NegativeInput<UC>>( self, input: I, lower_threshold: L, upper_threshold: U, config: Config, clocks: &Clocks, ) -> WindowComparator<UC, LC, Disabled>
Uses two comparators to implement a window comparator
See Figure 69 in RM0444 Rev 5. Ignores and overrides the output_xor
setting in config
.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.