pub struct Registry { /* private fields */ }Implementations§
Source§impl Registry
impl Registry
pub const fn new(groups: &'static [&'static [RegisteredDay]]) -> Self
pub fn iter(&self) -> impl Iterator<Item = &RegisteredDay>
pub fn find(&self, year: usize, day: usize) -> Option<&RegisteredDay>
pub fn latest_year(&self) -> Option<usize>
pub fn latest_day(&self, year: usize) -> Option<usize>
pub fn latest(&self) -> Option<&RegisteredDay>
Auto Trait Implementations§
impl Forget for Registry
impl Freeze for Registrywhere
&'static [&'static [RegisteredDay]]: Freeze,
impl Move for Registry
impl RefUnwindSafe for Registry
impl Send for Registrywhere
&'static [&'static [RegisteredDay]]: Send,
impl Sync for Registry
impl Unpin for Registrywhere
&'static [&'static [RegisteredDay]]: Unpin,
impl UnsafeUnpin for Registrywhere
&'static [&'static [RegisteredDay]]: UnsafeUnpin,
impl UnwindSafe for Registrywhere
&'static [&'static [RegisteredDay]]: 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