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 str
Name of the lunar phase.
emoji: &'static str
Emoji representing the lunar phase.
start: f64
Start fraction of the lunar phase.
end: f64
End 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