pub trait TPropOps<'a>:
Clone
+ Send
+ Sync
+ Sized
+ 'a {
// Required methods
fn iter(
self,
) -> impl DoubleEndedIterator<Item = (TimeIndexEntry, Prop)> + Send + Sync + 'a;
fn iter_window(
self,
r: Range<TimeIndexEntry>,
) -> impl DoubleEndedIterator<Item = (TimeIndexEntry, Prop)> + Send + Sync + 'a;
fn at(&self, ti: &TimeIndexEntry) -> Option<Prop>;
// Provided methods
fn active(&self, w: Range<TimeIndexEntry>) -> bool { ... }
fn active_t(&self, w: Range<i64>) -> bool { ... }
fn last_before(&self, t: TimeIndexEntry) -> Option<(TimeIndexEntry, Prop)> { ... }
fn iter_t(
self,
) -> impl DoubleEndedIterator<Item = (i64, Prop)> + Send + Sync + 'a { ... }
fn iter_window_t(
self,
r: Range<i64>,
) -> impl DoubleEndedIterator<Item = (i64, Prop)> + Send + Sync + 'a { ... }
fn iter_window_te(
self,
r: Range<TimeIndexEntry>,
) -> impl DoubleEndedIterator<Item = (i64, Prop)> + Send + Sync + 'a { ... }
}Required Methods§
fn iter( self, ) -> impl DoubleEndedIterator<Item = (TimeIndexEntry, Prop)> + Send + Sync + 'a
fn iter_window( self, r: Range<TimeIndexEntry>, ) -> impl DoubleEndedIterator<Item = (TimeIndexEntry, Prop)> + Send + Sync + 'a
fn at(&self, ti: &TimeIndexEntry) -> Option<Prop>
Provided Methods§
fn active(&self, w: Range<TimeIndexEntry>) -> bool
fn last_before(&self, t: TimeIndexEntry) -> Option<(TimeIndexEntry, Prop)>
fn iter_t( self, ) -> impl DoubleEndedIterator<Item = (i64, Prop)> + Send + Sync + 'a
fn iter_window_t( self, r: Range<i64>, ) -> impl DoubleEndedIterator<Item = (i64, Prop)> + Send + Sync + 'a
fn iter_window_te( self, r: Range<TimeIndexEntry>, ) -> impl DoubleEndedIterator<Item = (i64, Prop)> + Send + Sync + 'a
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.