pub enum NodeAdditions<'a> {
Mem(&'a NodeTimestamps),
Range(TimeIndexWindow<'a, TimeIndexEntry, NodeTimestamps>),
}Variants§
Mem(&'a NodeTimestamps)
Range(TimeIndexWindow<'a, TimeIndexEntry, NodeTimestamps>)
Implementations§
Source§impl<'a> NodeAdditions<'a>
impl<'a> NodeAdditions<'a>
pub fn prop_events(&self) -> impl Iterator<Item = TimeIndexEntry> + use<'a>
pub fn prop_events_rev(&self) -> impl Iterator<Item = TimeIndexEntry> + use<'a>
pub fn edge_events( &self, ) -> impl Iterator<Item = (TimeIndexEntry, ELID)> + use<'a>
pub fn edge_events_rev( &self, ) -> impl Iterator<Item = (TimeIndexEntry, ELID)> + use<'a>
Trait Implementations§
Source§impl<'a> Clone for NodeAdditions<'a>
impl<'a> Clone for NodeAdditions<'a>
Source§fn clone(&self) -> NodeAdditions<'a>
fn clone(&self) -> NodeAdditions<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for NodeAdditions<'a>
impl<'a> Debug for NodeAdditions<'a>
Source§impl<'b> TimeIndexOps<'b> for NodeAdditions<'b>
impl<'b> TimeIndexOps<'b> for NodeAdditions<'b>
type IndexType = TimeIndexEntry
type RangeType = NodeAdditions<'b>
fn active(&self, w: Range<TimeIndexEntry>) -> bool
fn range(&self, w: Range<TimeIndexEntry>) -> Self
fn first(&self) -> Option<Self::IndexType>
fn last(&self) -> Option<Self::IndexType>
fn iter(self) -> impl Iterator<Item = Self::IndexType> + Send + Sync + 'b
fn iter_rev(self) -> impl Iterator<Item = Self::IndexType> + Send + Sync + 'b
fn len(&self) -> usize
fn active_t(&self, w: Range<i64>) -> bool
fn range_t(&self, w: Range<i64>) -> Self::RangeType
fn first_t(&self) -> Option<i64>
fn last_t(&self) -> Option<i64>
fn iter_t(self) -> impl Iterator<Item = i64> + Send + Sync + 'a
fn iter_rev_t(self) -> impl Iterator<Item = i64> + Send + Sync + 'a
fn is_empty(&self) -> bool
fn merge<R>(self, other: R) -> MergedTimeIndex<Self, R>where
R: TimeIndexOps<'a, IndexType = Self::IndexType>,
Auto Trait Implementations§
impl<'a> Freeze for NodeAdditions<'a>
impl<'a> RefUnwindSafe for NodeAdditions<'a>
impl<'a> Send for NodeAdditions<'a>
impl<'a> Sync for NodeAdditions<'a>
impl<'a> Unpin for NodeAdditions<'a>
impl<'a> UnwindSafe for NodeAdditions<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more