pub struct LiturgicalUnit<R: DayRank> {
pub desc: ArcStr,
pub rank: R,
pub date: NaiveDate,
pub color: ArcStr,
pub day_kind: DayKind,
pub titles: Vec<ArcStr>,
}Fields§
§desc: ArcStr§rank: R§date: NaiveDate§color: ArcStr§day_kind: DayKind§titles: Vec<ArcStr>Implementations§
Source§impl<R> LiturgicalUnit<R>where
R: DayRank,
impl<R> LiturgicalUnit<R>where
R: DayRank,
pub fn transfered(&self) -> Self
Trait Implementations§
Source§impl<R: Clone + DayRank> Clone for LiturgicalUnit<R>
impl<R: Clone + DayRank> Clone for LiturgicalUnit<R>
Source§fn clone(&self) -> LiturgicalUnit<R>
fn clone(&self) -> LiturgicalUnit<R>
Returns a duplicate 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 for LiturgicalUnit<R>where
R: DayRank,
impl<R> Debug for LiturgicalUnit<R>where
R: DayRank,
Auto Trait Implementations§
impl<R> Freeze for LiturgicalUnit<R>where
R: Freeze,
impl<R> RefUnwindSafe for LiturgicalUnit<R>where
R: RefUnwindSafe,
impl<R> Send for LiturgicalUnit<R>
impl<R> Sync for LiturgicalUnit<R>
impl<R> Unpin for LiturgicalUnit<R>where
R: Unpin,
impl<R> UnwindSafe for LiturgicalUnit<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