Struct hodaun::Maintainer
source · pub struct Maintainer<R = f64> { /* private fields */ }Expand description
Used to coordinate the dropping of Sources
Implementations§
source§impl<R> Maintainer<R>where
R: Automation,
impl<R> Maintainer<R>where R: Automation,
sourcepub fn with_release(release_dur: R) -> Self
pub fn with_release(release_dur: R) -> Self
Create a new maintainer with the given release duration
Trait Implementations§
source§impl<R: Clone> Clone for Maintainer<R>
impl<R: Clone> Clone for Maintainer<R>
source§fn clone(&self) -> Maintainer<R>
fn clone(&self) -> Maintainer<R>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<R: Debug> Debug for Maintainer<R>
impl<R: Debug> Debug for Maintainer<R>
source§impl<R: Default> Default for Maintainer<R>
impl<R: Default> Default for Maintainer<R>
source§fn default() -> Maintainer<R>
fn default() -> Maintainer<R>
Returns the “default value” for a type. Read more
source§impl<R: Hash> Hash for Maintainer<R>
impl<R: Hash> Hash for Maintainer<R>
source§impl<R: Ord> Ord for Maintainer<R>
impl<R: Ord> Ord for Maintainer<R>
source§fn cmp(&self, other: &Maintainer<R>) -> Ordering
fn cmp(&self, other: &Maintainer<R>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<R: PartialEq> PartialEq<Maintainer<R>> for Maintainer<R>
impl<R: PartialEq> PartialEq<Maintainer<R>> for Maintainer<R>
source§fn eq(&self, other: &Maintainer<R>) -> bool
fn eq(&self, other: &Maintainer<R>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<R: PartialOrd> PartialOrd<Maintainer<R>> for Maintainer<R>
impl<R: PartialOrd> PartialOrd<Maintainer<R>> for Maintainer<R>
source§fn partial_cmp(&self, other: &Maintainer<R>) -> Option<Ordering>
fn partial_cmp(&self, other: &Maintainer<R>) -> Option<Ordering>
1.0.0 · source§fn 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 moreimpl<R: Eq> Eq for Maintainer<R>
impl<R> StructuralEq for Maintainer<R>
impl<R> StructuralPartialEq for Maintainer<R>
Auto Trait Implementations§
impl<R> RefUnwindSafe for Maintainer<R>where R: RefUnwindSafe,
impl<R> Send for Maintainer<R>where R: Send,
impl<R> Sync for Maintainer<R>where R: Sync,
impl<R> Unpin for Maintainer<R>where R: Unpin,
impl<R> UnwindSafe for Maintainer<R>where R: UnwindSafe,
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