Struct metrics_util::NotTracked [−][src]
pub struct NotTracked<H>(_);
Expand description
A generational wrapper that does not track the generation.
Implementations
impl<H> NotTracked<H>[src]
impl<H> NotTracked<H>[src]pub fn new(h: H) -> NotTracked<H>[src]
pub fn new(h: H) -> NotTracked<H>[src]Creates a new NotTracked.
Trait Implementations
impl<H> From<H> for NotTracked<H>[src]
impl<H> From<H> for NotTracked<H>[src]impl<H> Generational<H> for NotTracked<H>[src]
impl<H> Generational<H> for NotTracked<H>[src]fn increment_generation(&self)[src]
fn increment_generation(&self)[src]Increments the generation counter.
fn get_generation(&self) -> Generation[src]
fn get_generation(&self) -> Generation[src]Gets the current generation counter.
Auto Trait Implementations
impl<H> RefUnwindSafe for NotTracked<H> where
H: RefUnwindSafe,
H: RefUnwindSafe,
impl<H> Send for NotTracked<H> where
H: Send,
H: Send,
impl<H> Sync for NotTracked<H> where
H: Sync,
H: Sync,
impl<H> Unpin for NotTracked<H> where
H: Unpin,
H: Unpin,
impl<H> UnwindSafe for NotTracked<H> where
H: UnwindSafe,
H: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T[src]
impl<T> Pointable for T[src]