pub struct PopCoordinates {
pub latitude: f32,
pub longitude: f32,
}
Expand description
PopCoordinates : the geographic location of the POP
Fields§
§latitude: f32
§longitude: f32
Implementations§
Source§impl PopCoordinates
impl PopCoordinates
Sourcepub fn new(latitude: f32, longitude: f32) -> PopCoordinates
pub fn new(latitude: f32, longitude: f32) -> PopCoordinates
the geographic location of the POP
Trait Implementations§
Source§impl Clone for PopCoordinates
impl Clone for PopCoordinates
Source§fn clone(&self) -> PopCoordinates
fn clone(&self) -> PopCoordinates
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 PopCoordinates
impl Debug for PopCoordinates
Source§impl Default for PopCoordinates
impl Default for PopCoordinates
Source§fn default() -> PopCoordinates
fn default() -> PopCoordinates
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PopCoordinates
impl<'de> Deserialize<'de> for PopCoordinates
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PopCoordinates
impl PartialEq for PopCoordinates
Source§impl Serialize for PopCoordinates
impl Serialize for PopCoordinates
impl StructuralPartialEq for PopCoordinates
Auto Trait Implementations§
impl Freeze for PopCoordinates
impl RefUnwindSafe for PopCoordinates
impl Send for PopCoordinates
impl Sync for PopCoordinates
impl Unpin for PopCoordinates
impl UnwindSafe for PopCoordinates
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