pub struct HourMinSec(pub Sign, pub u32, pub u32, pub f64);
Expand description
Sexagesimal Hour
Tuple Fields§
§0: Sign
Sign of angle
1: u32
Hours
2: u32
Minutes
3: f64
Seconds
Implementations§
Source§impl HourMinSec
impl HourMinSec
Sourcepub fn angle_to_ams(decimal_angle: f64) -> Self
pub fn angle_to_ams(decimal_angle: f64) -> Self
Decimal angle to Arc Minute Second struct.
Trait Implementations§
Source§impl Clone for HourMinSec
impl Clone for HourMinSec
Source§fn clone(&self) -> HourMinSec
fn clone(&self) -> HourMinSec
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 moreSource§impl Debug for HourMinSec
impl Debug for HourMinSec
Source§impl From<Angle> for HourMinSec
impl From<Angle> for HourMinSec
Source§impl From<HourMinSec> for Angle
impl From<HourMinSec> for Angle
Source§fn from(angle: HourMinSec) -> Angle
fn from(angle: HourMinSec) -> Angle
Converts to this type from the input type.
Source§impl PartialEq for HourMinSec
impl PartialEq for HourMinSec
impl StructuralPartialEq for HourMinSec
Auto Trait Implementations§
impl Freeze for HourMinSec
impl RefUnwindSafe for HourMinSec
impl Send for HourMinSec
impl Sync for HourMinSec
impl Unpin for HourMinSec
impl UnwindSafe for HourMinSec
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