pub enum CyclePhase {
Menstrual,
Follicular,
Ovulatory,
Luteal,
}Expand description
A phase of the menstrual cycle. The recurring ~monthly timeline (§1.3); ordered as it progresses.
Variants§
Menstrual
Menstruation — the shedding phase that (by convention) opens the cycle.
Follicular
Follicular — post-menstrual, follicle maturation.
Ovulatory
Ovulatory — around ovulation.
Luteal
Luteal — post-ovulatory, pre-menstrual.
Implementations§
Source§impl CyclePhase
impl CyclePhase
Sourcepub fn next(self) -> CyclePhase
pub fn next(self) -> CyclePhase
The phase the cycle advances to next (wraps Luteal → Menstrual).
Sourcepub fn plain_label(self) -> &'static str
pub fn plain_label(self) -> &'static str
Accessibility-first plain wording (non-diagnostic).
Trait Implementations§
Source§impl Clone for CyclePhase
impl Clone for CyclePhase
impl Copy for CyclePhase
Source§impl Debug for CyclePhase
impl Debug for CyclePhase
Source§impl<'de> Deserialize<'de> for CyclePhase
impl<'de> Deserialize<'de> for CyclePhase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CyclePhase
Source§impl PartialEq for CyclePhase
impl PartialEq for CyclePhase
Source§impl Serialize for CyclePhase
impl Serialize for CyclePhase
impl StructuralPartialEq for CyclePhase
Auto Trait Implementations§
impl Freeze for CyclePhase
impl RefUnwindSafe for CyclePhase
impl Send for CyclePhase
impl Sync for CyclePhase
impl Unpin for CyclePhase
impl UnsafeUnpin for CyclePhase
impl UnwindSafe for CyclePhase
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