pub struct Phase {
pub name: &'static str,
pub emoji: &'static str,
pub start: f64,
pub end: f64,
}Expand description
Represents a lunar phase with name, emoji and start and end fractions.
Fields§
§name: &'static strName of the lunar phase.
emoji: &'static strEmoji representing the lunar phase.
start: f64Start fraction of the lunar phase.
end: f64End fraction of the lunar phase.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Phase
impl RefUnwindSafe for Phase
impl Send for Phase
impl Sync for Phase
impl Unpin for Phase
impl UnwindSafe for Phase
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