pub struct KernelDate {
pub seconds_past_j2000: f64,
pub year: i32,
pub month: u8,
pub day: u8,
pub hour: u8,
pub minute: u8,
pub second: f64,
}Expand description
A resolved kernel date literal.
Fields§
§seconds_past_j2000: f64Seconds past J2000 (2000-01-01T12:00:00) as a bare kernel
constant, matching the value a SPICE text kernel assigns.
year: i32Normalized proleptic-Gregorian year.
month: u8Normalized month, 1..=12.
day: u8Normalized day of month.
hour: u8Hour of day, 0..=23.
minute: u8Minute of hour, 0..=59.
second: f64Second of minute, 0.0 .. 60.0.
Trait Implementations§
Source§impl Clone for KernelDate
impl Clone for KernelDate
impl Copy for KernelDate
Source§impl Debug for KernelDate
impl Debug for KernelDate
Source§impl PartialEq for KernelDate
impl PartialEq for KernelDate
impl StructuralPartialEq for KernelDate
Auto Trait Implementations§
impl Forget for KernelDate
impl Freeze for KernelDate
impl Move for KernelDate
impl RefUnwindSafe for KernelDate
impl Send for KernelDate
impl Sync for KernelDate
impl Unpin for KernelDate
impl UnsafeUnpin for KernelDate
impl UnwindSafe for KernelDate
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