pub struct Latitude(pub Angle);
Expand description
Forcing type for Latitude
Tuple Fields§
§0: Angle
Methods from Deref<Target = Angle>§
pub fn value(&self) -> f64
pub fn units(&self) -> AngleUnits
pub fn as_degrees(&self) -> Angle
pub fn as_radians(&self) -> Angle
pub fn as_dms(&self) -> (i16, u8, f64)
pub fn as_deg_min(&self) -> (i16, f64)
pub fn sin(&self) -> f64
pub fn asin(&self) -> f64
pub fn cos(&self) -> f64
pub fn acos(&self) -> f64
Trait Implementations§
impl Copy for Latitude
impl StructuralPartialEq for Latitude
Auto Trait Implementations§
impl Freeze for Latitude
impl RefUnwindSafe for Latitude
impl Send for Latitude
impl Sync for Latitude
impl Unpin for Latitude
impl UnwindSafe for Latitude
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