pub struct Count<T: 'static> { /* private fields */ }
Expand description
Store this inside your struct as _c: countme::Count<Self>
.
Implementations§
Trait Implementations§
Source§impl<T: Ord + 'static> Ord for Count<T>
impl<T: Ord + 'static> Ord for Count<T>
Source§impl<T: PartialOrd + 'static> PartialOrd for Count<T>
impl<T: PartialOrd + 'static> PartialOrd for Count<T>
impl<T: Eq + 'static> Eq for Count<T>
impl<T: 'static> StructuralPartialEq for Count<T>
Auto Trait Implementations§
impl<T> Freeze for Count<T>
impl<T> RefUnwindSafe for Count<T>
impl<T> Send for Count<T>
impl<T> Sync for Count<T>
impl<T> Unpin for Count<T>
impl<T> UnwindSafe for Count<T>
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