Struct stc_ts_types::tracker::Tracker
source · [−]Expand description
A type used to track all type creations. You can construct this type using
Default::default()
and it will print a log message.
Fields
_priv: ()
Trait Implementations
sourceimpl<'de, const N: &'static str> Deserialize<'de> for Tracker<N>
impl<'de, const N: &'static str> Deserialize<'de> for Tracker<N>
sourcefn 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
sourceimpl<const N: &'static str> EqIgnoreSpan for Tracker<N>
impl<const N: &'static str> EqIgnoreSpan for Tracker<N>
fn eq_ignore_span(&self, _: &Self) -> bool
sourceimpl<const N: &'static str> Ord for Tracker<N>
impl<const N: &'static str> Ord for Tracker<N>
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl<const N: &'static str> PartialEq<Tracker<N>> for Tracker<N>
impl<const N: &'static str> PartialEq<Tracker<N>> for Tracker<N>
sourceimpl<const N: &'static str> PartialOrd<Tracker<N>> for Tracker<N>
impl<const N: &'static str> PartialOrd<Tracker<N>> for Tracker<N>
sourcefn partial_cmp(&self, other: &Tracker<N>) -> Option<Ordering>
fn partial_cmp(&self, other: &Tracker<N>) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresourceimpl<const N: &'static str, V: ?Sized> VisitMutWith<V> for Tracker<N>
impl<const N: &'static str, V: ?Sized> VisitMutWith<V> for Tracker<N>
fn visit_mut_children_with(&mut self, _: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)where
V: VisitMut<Self>,
sourceimpl<const N: &'static str, V: ?Sized> VisitWith<V> for Tracker<N>
impl<const N: &'static str, V: ?Sized> VisitWith<V> for Tracker<N>
fn visit_children_with(&self, _: &mut V)
fn visit_with(&self, visitor: &mut V)where
V: Visit<Self>,
impl<const N: &'static str> Copy for Tracker<N>
impl<const N: &'static str> Eq for Tracker<N>
impl<const N: &'static str> StructuralEq for Tracker<N>
impl<const N: &'static str> StructuralPartialEq for Tracker<N>
impl<const N: &'static str> Visitable for Tracker<N>
Auto Trait Implementations
impl<const N: &'static str> RefUnwindSafe for Tracker<N>
impl<const N: &'static str> Send for Tracker<N>
impl<const N: &'static str> Sync for Tracker<N>
impl<const N: &'static str> Unpin for Tracker<N>
impl<const N: &'static str> UnwindSafe for Tracker<N>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.