Skip to main content

Days

Trait Days 

Source
pub trait Days: Debug + Copy {
    // Required method
    fn contains(&self, date: Date) -> bool;
}

Required Methods§

Source

fn contains(&self, date: Date) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Days for &HashSet<Date>

Source§

fn contains(&self, date: Date) -> bool

Source§

impl Days for bool

Source§

fn contains(&self, _date: Date) -> bool

Implementors§