pub enum ChurnWindow {
Days(u32),
Since(CalendarDay),
Commits(usize),
}Variants§
Trait Implementations§
Source§impl Clone for ChurnWindow
impl Clone for ChurnWindow
impl Copy for ChurnWindow
Source§impl Debug for ChurnWindow
impl Debug for ChurnWindow
Source§impl Default for ChurnWindow
impl Default for ChurnWindow
Source§fn default() -> ChurnWindow
fn default() -> ChurnWindow
Returns the “default value” for a type. Read more
Source§impl Display for ChurnWindow
impl Display for ChurnWindow
impl Eq for ChurnWindow
Source§impl From<ChurnSince> for ChurnWindow
impl From<ChurnSince> for ChurnWindow
Source§fn from(since: ChurnSince) -> ChurnWindow
fn from(since: ChurnSince) -> ChurnWindow
Converts to this type from the input type.
Source§impl PartialEq for ChurnWindow
impl PartialEq for ChurnWindow
impl StructuralPartialEq for ChurnWindow
Auto Trait Implementations§
impl Forget for ChurnWindow
impl Freeze for ChurnWindow
impl Move for ChurnWindow
impl RefUnwindSafe for ChurnWindow
impl Send for ChurnWindow
impl Sync for ChurnWindow
impl Unpin for ChurnWindow
impl UnsafeUnpin for ChurnWindow
impl UnwindSafe for ChurnWindow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.