pub struct Coordinates {
pub latitude: u32,
pub ns: char,
pub longitude: u32,
pub ew: char,
}
Fields§
§latitude: u32
§ns: char
§longitude: u32
§ew: char
Trait Implementations§
Source§impl Clone for Coordinates
impl Clone for Coordinates
Source§fn clone(&self) -> Coordinates
fn clone(&self) -> Coordinates
Returns a copy 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 Coordinates
impl Debug for Coordinates
Source§impl Default for Coordinates
impl Default for Coordinates
Source§fn default() -> Coordinates
fn default() -> Coordinates
Returns the “default value” for a type. Read more
Source§impl FromByteSlice for Coordinates
impl FromByteSlice for Coordinates
Source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
Source§fn from_le_byte_slice(bytes: &[u8]) -> Coordinates
fn from_le_byte_slice(bytes: &[u8]) -> Coordinates
Deserialize the implementing type from a byte slice.
Source§impl Hash for Coordinates
impl Hash for Coordinates
Source§impl PartialEq for Coordinates
impl PartialEq for Coordinates
impl Copy for Coordinates
impl Eq for Coordinates
impl StructuralPartialEq for Coordinates
Auto Trait Implementations§
impl Freeze for Coordinates
impl RefUnwindSafe for Coordinates
impl Send for Coordinates
impl Sync for Coordinates
impl Unpin for Coordinates
impl UnwindSafe for Coordinates
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