pub struct DmsCoordinate {
pub degree: Option<String>,
pub minute: Option<String>,
pub second: Option<String>,
}Expand description
度分秒形式の座標
Fields§
§degree: Option<String>度
minute: Option<String>分
second: Option<String>秒
Implementations§
Source§impl DmsCoordinate
impl DmsCoordinate
Sourcepub fn to_decimal(&self) -> Option<f64>
pub fn to_decimal(&self) -> Option<f64>
度分秒を10進数(度)に変換
度、分、秒のいずれかがNoneまたはパースできない場合はNoneを返す
Trait Implementations§
Source§impl Clone for DmsCoordinate
impl Clone for DmsCoordinate
Source§fn clone(&self) -> DmsCoordinate
fn clone(&self) -> DmsCoordinate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DmsCoordinate
impl Debug for DmsCoordinate
Source§impl PartialEq for DmsCoordinate
impl PartialEq for DmsCoordinate
impl StructuralPartialEq for DmsCoordinate
Auto Trait Implementations§
impl Freeze for DmsCoordinate
impl RefUnwindSafe for DmsCoordinate
impl Send for DmsCoordinate
impl Sync for DmsCoordinate
impl Unpin for DmsCoordinate
impl UnsafeUnpin for DmsCoordinate
impl UnwindSafe for DmsCoordinate
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