pub struct Longitude(pub Angle);
Expand description
Forcing type for Longitude
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 Longitude
impl StructuralPartialEq for Longitude
Auto Trait Implementations§
impl Freeze for Longitude
impl RefUnwindSafe for Longitude
impl Send for Longitude
impl Sync for Longitude
impl Unpin for Longitude
impl UnwindSafe for Longitude
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