pub struct SolarTermDef {
pub name: &'static str,
pub description: &'static str,
pub longitude: i32,
}Expand description
Solar term definition
Fields§
§name: &'static str§description: &'static str§longitude: i32Trait Implementations§
Source§impl Clone for SolarTermDef
impl Clone for SolarTermDef
Source§fn clone(&self) -> SolarTermDef
fn clone(&self) -> SolarTermDef
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 moreAuto Trait Implementations§
impl Freeze for SolarTermDef
impl RefUnwindSafe for SolarTermDef
impl Send for SolarTermDef
impl Sync for SolarTermDef
impl Unpin for SolarTermDef
impl UnsafeUnpin for SolarTermDef
impl UnwindSafe for SolarTermDef
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