Struct tracing_vec::TimedIndex[][src]

pub struct TimedIndex { /* fields omitted */ }

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

impl TimedIndex[src]

pub unsafe fn from_raw_parts(pos: usize, pseudotime: usize) -> Self[src]

Trait Implementations

impl Add<i16> for TimedIndex[src]

type Output = Self

The resulting type after applying the + operator.

impl Add<i32> for TimedIndex[src]

type Output = Self

The resulting type after applying the + operator.

impl Add<i64> for TimedIndex[src]

type Output = Self

The resulting type after applying the + operator.

impl Add<i8> for TimedIndex[src]

type Output = Self

The resulting type after applying the + operator.

impl Add<isize> for TimedIndex[src]

type Output = Self

The resulting type after applying the + operator.

impl Add<u16> for TimedIndex[src]

type Output = Self

The resulting type after applying the + operator.

impl Add<u32> for TimedIndex[src]

type Output = Self

The resulting type after applying the + operator.

impl Add<u64> for TimedIndex[src]

type Output = Self

The resulting type after applying the + operator.

impl Add<u8> for TimedIndex[src]

type Output = Self

The resulting type after applying the + operator.

impl Add<usize> for TimedIndex[src]

type Output = Self

The resulting type after applying the + operator.

impl AddAssign<i16> for TimedIndex[src]

impl AddAssign<i32> for TimedIndex[src]

impl AddAssign<i64> for TimedIndex[src]

impl AddAssign<i8> for TimedIndex[src]

impl AddAssign<isize> for TimedIndex[src]

impl AddAssign<u16> for TimedIndex[src]

impl AddAssign<u32> for TimedIndex[src]

impl AddAssign<u64> for TimedIndex[src]

impl AddAssign<u8> for TimedIndex[src]

impl AddAssign<usize> for TimedIndex[src]

impl Clone for TimedIndex[src]

impl Copy for TimedIndex[src]

impl Debug for TimedIndex[src]

impl<'de> Deserialize<'de> for TimedIndex[src]

impl Display for TimedIndex[src]

impl Eq for TimedIndex[src]

impl Hash for TimedIndex[src]

impl Ord for TimedIndex[src]

impl PartialEq<TimedIndex> for TimedIndex[src]

impl PartialOrd<TimedIndex> for TimedIndex[src]

impl Serialize for TimedIndex[src]

impl StructuralEq for TimedIndex[src]

impl StructuralPartialEq for TimedIndex[src]

impl Sub<i16> for TimedIndex[src]

type Output = Self

The resulting type after applying the - operator.

impl Sub<i32> for TimedIndex[src]

type Output = Self

The resulting type after applying the - operator.

impl Sub<i64> for TimedIndex[src]

type Output = Self

The resulting type after applying the - operator.

impl Sub<i8> for TimedIndex[src]

type Output = Self

The resulting type after applying the - operator.

impl Sub<isize> for TimedIndex[src]

type Output = Self

The resulting type after applying the - operator.

impl Sub<u16> for TimedIndex[src]

type Output = Self

The resulting type after applying the - operator.

impl Sub<u32> for TimedIndex[src]

type Output = Self

The resulting type after applying the - operator.

impl Sub<u64> for TimedIndex[src]

type Output = Self

The resulting type after applying the - operator.

impl Sub<u8> for TimedIndex[src]

type Output = Self

The resulting type after applying the - operator.

impl Sub<usize> for TimedIndex[src]

type Output = Self

The resulting type after applying the - operator.

impl SubAssign<i16> for TimedIndex[src]

impl SubAssign<i32> for TimedIndex[src]

impl SubAssign<i64> for TimedIndex[src]

impl SubAssign<i8> for TimedIndex[src]

impl SubAssign<isize> for TimedIndex[src]

impl SubAssign<u16> for TimedIndex[src]

impl SubAssign<u32> for TimedIndex[src]

impl SubAssign<u64> for TimedIndex[src]

impl SubAssign<u8> for TimedIndex[src]

impl SubAssign<usize> for TimedIndex[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.