pub trait PwmRange: Pwm {
type Range<'a>: IntoIterator<Item = (&'a Self::Key, &'a EntryValue<Self::Value>)>
where Self: 'a;
// Required method
fn range<R>(&self, range: R) -> Self::Range<'_>
where R: RangeBounds<Self::Key>;
}
Expand description
An trait that can be used to get a range over the pending writes.
Required Associated Types§
Sourcetype Range<'a>: IntoIterator<Item = (&'a Self::Key, &'a EntryValue<Self::Value>)>
where
Self: 'a
type Range<'a>: IntoIterator<Item = (&'a Self::Key, &'a EntryValue<Self::Value>)> where Self: 'a
The iterator type.
Required Methods§
Sourcefn range<R>(&self, range: R) -> Self::Range<'_>where
R: RangeBounds<Self::Key>,
fn range<R>(&self, range: R) -> Self::Range<'_>where
R: RangeBounds<Self::Key>,
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.