pub trait PwmComparableRange: PwmRange + PwmComparable {
// Required method
fn range_comparable<T, R>(&self, range: R) -> Self::Range<'_>
where T: Ord + ?Sized,
Self::Key: Borrow<T> + Ord,
R: RangeBounds<T>;
}
Expand description
An trait that can be used to get a range over the pending writes.
Required Methods§
Sourcefn range_comparable<T, R>(&self, range: R) -> Self::Range<'_>
fn range_comparable<T, R>(&self, range: R) -> Self::Range<'_>
Returns an iterator over the pending writes.
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.