pub struct TimedIndex { /* private fields */ }
Expand description
An index pointing to a position in a snapshot of a [TracingVec
]. It doesn’t point directly
to the underlying data, but retains information about the particular position and thus
supports a kind of “interior mutability”.
Implementations§
Source§impl TimedIndex
impl TimedIndex
pub unsafe fn from_raw_parts(pos: usize, pseudotime: usize) -> Self
Trait Implementations§
Source§impl Add<i16> for TimedIndex
impl Add<i16> for TimedIndex
Source§impl Add<i32> for TimedIndex
impl Add<i32> for TimedIndex
Source§impl Add<i64> for TimedIndex
impl Add<i64> for TimedIndex
Source§impl Add<i8> for TimedIndex
impl Add<i8> for TimedIndex
Source§impl Add<isize> for TimedIndex
impl Add<isize> for TimedIndex
Source§impl Add<u16> for TimedIndex
impl Add<u16> for TimedIndex
Source§impl Add<u32> for TimedIndex
impl Add<u32> for TimedIndex
Source§impl Add<u64> for TimedIndex
impl Add<u64> for TimedIndex
Source§impl Add<u8> for TimedIndex
impl Add<u8> for TimedIndex
Source§impl Add<usize> for TimedIndex
impl Add<usize> for TimedIndex
Source§impl AddAssign<i16> for TimedIndex
impl AddAssign<i16> for TimedIndex
Source§fn add_assign(&mut self, other: i16)
fn add_assign(&mut self, other: i16)
Performs the
+=
operation. Read moreSource§impl AddAssign<i32> for TimedIndex
impl AddAssign<i32> for TimedIndex
Source§fn add_assign(&mut self, other: i32)
fn add_assign(&mut self, other: i32)
Performs the
+=
operation. Read moreSource§impl AddAssign<i64> for TimedIndex
impl AddAssign<i64> for TimedIndex
Source§fn add_assign(&mut self, other: i64)
fn add_assign(&mut self, other: i64)
Performs the
+=
operation. Read moreSource§impl AddAssign<i8> for TimedIndex
impl AddAssign<i8> for TimedIndex
Source§fn add_assign(&mut self, other: i8)
fn add_assign(&mut self, other: i8)
Performs the
+=
operation. Read moreSource§impl AddAssign<isize> for TimedIndex
impl AddAssign<isize> for TimedIndex
Source§fn add_assign(&mut self, other: isize)
fn add_assign(&mut self, other: isize)
Performs the
+=
operation. Read moreSource§impl AddAssign<u16> for TimedIndex
impl AddAssign<u16> for TimedIndex
Source§fn add_assign(&mut self, other: u16)
fn add_assign(&mut self, other: u16)
Performs the
+=
operation. Read moreSource§impl AddAssign<u32> for TimedIndex
impl AddAssign<u32> for TimedIndex
Source§fn add_assign(&mut self, other: u32)
fn add_assign(&mut self, other: u32)
Performs the
+=
operation. Read moreSource§impl AddAssign<u64> for TimedIndex
impl AddAssign<u64> for TimedIndex
Source§fn add_assign(&mut self, other: u64)
fn add_assign(&mut self, other: u64)
Performs the
+=
operation. Read moreSource§impl AddAssign<u8> for TimedIndex
impl AddAssign<u8> for TimedIndex
Source§fn add_assign(&mut self, other: u8)
fn add_assign(&mut self, other: u8)
Performs the
+=
operation. Read moreSource§impl AddAssign<usize> for TimedIndex
impl AddAssign<usize> for TimedIndex
Source§fn add_assign(&mut self, other: usize)
fn add_assign(&mut self, other: usize)
Performs the
+=
operation. Read moreSource§impl Clone for TimedIndex
impl Clone for TimedIndex
Source§fn clone(&self) -> TimedIndex
fn clone(&self) -> TimedIndex
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 Debug for TimedIndex
impl Debug for TimedIndex
Source§impl<'de> Deserialize<'de> for TimedIndex
impl<'de> Deserialize<'de> for TimedIndex
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for TimedIndex
impl Display for TimedIndex
Source§impl Hash for TimedIndex
impl Hash for TimedIndex
Source§impl Ord for TimedIndex
impl Ord for TimedIndex
Source§fn cmp(&self, other: &TimedIndex) -> Ordering
fn cmp(&self, other: &TimedIndex) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TimedIndex
impl PartialEq for TimedIndex
Source§impl PartialOrd for TimedIndex
impl PartialOrd for TimedIndex
Source§impl Serialize for TimedIndex
impl Serialize for TimedIndex
Source§impl Sub<i16> for TimedIndex
impl Sub<i16> for TimedIndex
Source§impl Sub<i32> for TimedIndex
impl Sub<i32> for TimedIndex
Source§impl Sub<i64> for TimedIndex
impl Sub<i64> for TimedIndex
Source§impl Sub<i8> for TimedIndex
impl Sub<i8> for TimedIndex
Source§impl Sub<isize> for TimedIndex
impl Sub<isize> for TimedIndex
Source§impl Sub<u16> for TimedIndex
impl Sub<u16> for TimedIndex
Source§impl Sub<u32> for TimedIndex
impl Sub<u32> for TimedIndex
Source§impl Sub<u64> for TimedIndex
impl Sub<u64> for TimedIndex
Source§impl Sub<u8> for TimedIndex
impl Sub<u8> for TimedIndex
Source§impl Sub<usize> for TimedIndex
impl Sub<usize> for TimedIndex
Source§impl SubAssign<i16> for TimedIndex
impl SubAssign<i16> for TimedIndex
Source§fn sub_assign(&mut self, other: i16)
fn sub_assign(&mut self, other: i16)
Performs the
-=
operation. Read moreSource§impl SubAssign<i32> for TimedIndex
impl SubAssign<i32> for TimedIndex
Source§fn sub_assign(&mut self, other: i32)
fn sub_assign(&mut self, other: i32)
Performs the
-=
operation. Read moreSource§impl SubAssign<i64> for TimedIndex
impl SubAssign<i64> for TimedIndex
Source§fn sub_assign(&mut self, other: i64)
fn sub_assign(&mut self, other: i64)
Performs the
-=
operation. Read moreSource§impl SubAssign<i8> for TimedIndex
impl SubAssign<i8> for TimedIndex
Source§fn sub_assign(&mut self, other: i8)
fn sub_assign(&mut self, other: i8)
Performs the
-=
operation. Read moreSource§impl SubAssign<isize> for TimedIndex
impl SubAssign<isize> for TimedIndex
Source§fn sub_assign(&mut self, other: isize)
fn sub_assign(&mut self, other: isize)
Performs the
-=
operation. Read moreSource§impl SubAssign<u16> for TimedIndex
impl SubAssign<u16> for TimedIndex
Source§fn sub_assign(&mut self, other: u16)
fn sub_assign(&mut self, other: u16)
Performs the
-=
operation. Read moreSource§impl SubAssign<u32> for TimedIndex
impl SubAssign<u32> for TimedIndex
Source§fn sub_assign(&mut self, other: u32)
fn sub_assign(&mut self, other: u32)
Performs the
-=
operation. Read moreSource§impl SubAssign<u64> for TimedIndex
impl SubAssign<u64> for TimedIndex
Source§fn sub_assign(&mut self, other: u64)
fn sub_assign(&mut self, other: u64)
Performs the
-=
operation. Read moreSource§impl SubAssign<u8> for TimedIndex
impl SubAssign<u8> for TimedIndex
Source§fn sub_assign(&mut self, other: u8)
fn sub_assign(&mut self, other: u8)
Performs the
-=
operation. Read moreSource§impl SubAssign<usize> for TimedIndex
impl SubAssign<usize> for TimedIndex
Source§fn sub_assign(&mut self, other: usize)
fn sub_assign(&mut self, other: usize)
Performs the
-=
operation. Read moreimpl Copy for TimedIndex
impl Eq for TimedIndex
impl StructuralPartialEq for TimedIndex
Auto Trait Implementations§
impl Freeze for TimedIndex
impl RefUnwindSafe for TimedIndex
impl Send for TimedIndex
impl Sync for TimedIndex
impl Unpin for TimedIndex
impl UnwindSafe for TimedIndex
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