Struct tracing_vec::TimedIndex [−][src]
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.
fn add(self, other: i16) -> Self::Output
[src]
impl Add<i32> for TimedIndex
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: i32) -> Self::Output
[src]
impl Add<i64> for TimedIndex
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: i64) -> Self::Output
[src]
impl Add<i8> for TimedIndex
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: i8) -> Self::Output
[src]
impl Add<isize> for TimedIndex
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: isize) -> Self::Output
[src]
impl Add<u16> for TimedIndex
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: u16) -> Self::Output
[src]
impl Add<u32> for TimedIndex
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: u32) -> Self::Output
[src]
impl Add<u64> for TimedIndex
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: u64) -> Self::Output
[src]
impl Add<u8> for TimedIndex
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: u8) -> Self::Output
[src]
impl Add<usize> for TimedIndex
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: usize) -> Self::Output
[src]
impl AddAssign<i16> for TimedIndex
[src]
fn add_assign(&mut self, other: i16)
[src]
impl AddAssign<i32> for TimedIndex
[src]
fn add_assign(&mut self, other: i32)
[src]
impl AddAssign<i64> for TimedIndex
[src]
fn add_assign(&mut self, other: i64)
[src]
impl AddAssign<i8> for TimedIndex
[src]
fn add_assign(&mut self, other: i8)
[src]
impl AddAssign<isize> for TimedIndex
[src]
fn add_assign(&mut self, other: isize)
[src]
impl AddAssign<u16> for TimedIndex
[src]
fn add_assign(&mut self, other: u16)
[src]
impl AddAssign<u32> for TimedIndex
[src]
fn add_assign(&mut self, other: u32)
[src]
impl AddAssign<u64> for TimedIndex
[src]
fn add_assign(&mut self, other: u64)
[src]
impl AddAssign<u8> for TimedIndex
[src]
fn add_assign(&mut self, other: u8)
[src]
impl AddAssign<usize> for TimedIndex
[src]
fn add_assign(&mut self, other: usize)
[src]
impl Clone for TimedIndex
[src]
fn clone(&self) -> TimedIndex
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for TimedIndex
[src]
impl Debug for TimedIndex
[src]
impl<'de> Deserialize<'de> for TimedIndex
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Display for TimedIndex
[src]
impl Eq for TimedIndex
[src]
impl Hash for TimedIndex
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for TimedIndex
[src]
fn cmp(&self, other: &TimedIndex) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<TimedIndex> for TimedIndex
[src]
fn eq(&self, other: &TimedIndex) -> bool
[src]
fn ne(&self, other: &TimedIndex) -> bool
[src]
impl PartialOrd<TimedIndex> for TimedIndex
[src]
fn partial_cmp(&self, other: &TimedIndex) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for TimedIndex
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
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.
fn sub(self, other: i16) -> Self::Output
[src]
impl Sub<i32> for TimedIndex
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: i32) -> Self::Output
[src]
impl Sub<i64> for TimedIndex
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: i64) -> Self::Output
[src]
impl Sub<i8> for TimedIndex
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: i8) -> Self::Output
[src]
impl Sub<isize> for TimedIndex
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: isize) -> Self::Output
[src]
impl Sub<u16> for TimedIndex
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: u16) -> Self::Output
[src]
impl Sub<u32> for TimedIndex
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: u32) -> Self::Output
[src]
impl Sub<u64> for TimedIndex
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: u64) -> Self::Output
[src]
impl Sub<u8> for TimedIndex
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: u8) -> Self::Output
[src]
impl Sub<usize> for TimedIndex
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: usize) -> Self::Output
[src]
impl SubAssign<i16> for TimedIndex
[src]
fn sub_assign(&mut self, other: i16)
[src]
impl SubAssign<i32> for TimedIndex
[src]
fn sub_assign(&mut self, other: i32)
[src]
impl SubAssign<i64> for TimedIndex
[src]
fn sub_assign(&mut self, other: i64)
[src]
impl SubAssign<i8> for TimedIndex
[src]
fn sub_assign(&mut self, other: i8)
[src]
impl SubAssign<isize> for TimedIndex
[src]
fn sub_assign(&mut self, other: isize)
[src]
impl SubAssign<u16> for TimedIndex
[src]
fn sub_assign(&mut self, other: u16)
[src]
impl SubAssign<u32> for TimedIndex
[src]
fn sub_assign(&mut self, other: u32)
[src]
impl SubAssign<u64> for TimedIndex
[src]
fn sub_assign(&mut self, other: u64)
[src]
impl SubAssign<u8> for TimedIndex
[src]
fn sub_assign(&mut self, other: u8)
[src]
impl SubAssign<usize> for TimedIndex
[src]
fn sub_assign(&mut self, other: usize)
[src]
Auto Trait Implementations
impl RefUnwindSafe for TimedIndex
impl Send for TimedIndex
impl Sync for TimedIndex
impl Unpin for TimedIndex
impl UnwindSafe for TimedIndex
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,