pub struct KeyView<'a, T, RIn> {
pub p_in: &'a [((u64, u64), T, RIn)],
pub i0: usize,
pub i1: usize,
pub pending: &'a [T],
}Expand description
A one-key view into an input presentation: the read-only arguments discover_times needs
about a single key — its slice [i0, i1) of the merged (id, time, diff) run p_in and
the carried pending times.
Fields§
§p_in: &'a [((u64, u64), T, RIn)]The presented ((key_hash, value_id), time, diff) run the key’s records live in.
i0: usizeThe key’s first record.
i1: usizeOne past the key’s last record.
pending: &'a [T]Interesting times pended for this key by earlier retires.
Auto Trait Implementations§
impl<'a, T, RIn> Freeze for KeyView<'a, T, RIn>
impl<'a, T, RIn> RefUnwindSafe for KeyView<'a, T, RIn>where
T: RefUnwindSafe,
RIn: RefUnwindSafe,
impl<'a, T, RIn> Send for KeyView<'a, T, RIn>
impl<'a, T, RIn> Sync for KeyView<'a, T, RIn>
impl<'a, T, RIn> Unpin for KeyView<'a, T, RIn>
impl<'a, T, RIn> UnsafeUnpin for KeyView<'a, T, RIn>
impl<'a, T, RIn> UnwindSafe for KeyView<'a, T, RIn>where
T: RefUnwindSafe,
RIn: RefUnwindSafe,
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> 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 moreSource§impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
Source§fn plus_equals(&mut self, rhs: &&'a S)
fn plus_equals(&mut self, rhs: &&'a S)
The method of
std::ops::AddAssign, for types that do not implement AddAssign.