pub struct GroupReferencePoint {
pub latitude: f64,
pub longitude: f64,
}Expand description
Custom defined record.
Fields§
§latitude: f64§longitude: f64Implementations§
Source§impl GroupReferencePoint
impl GroupReferencePoint
pub fn with_latitude(self, latitude: f64) -> Self
pub fn with_longitude(self, longitude: f64) -> Self
pub const fn record_length(&self) -> u16
Trait Implementations§
Source§impl Clone for GroupReferencePoint
impl Clone for GroupReferencePoint
Source§fn clone(&self) -> GroupReferencePoint
fn clone(&self) -> GroupReferencePoint
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 GroupReferencePoint
impl Debug for GroupReferencePoint
Source§impl Default for GroupReferencePoint
impl Default for GroupReferencePoint
Source§fn default() -> GroupReferencePoint
fn default() -> GroupReferencePoint
Returns the “default value” for a type. Read more
Source§impl PartialEq for GroupReferencePoint
impl PartialEq for GroupReferencePoint
impl StructuralPartialEq for GroupReferencePoint
Auto Trait Implementations§
impl Freeze for GroupReferencePoint
impl RefUnwindSafe for GroupReferencePoint
impl Send for GroupReferencePoint
impl Sync for GroupReferencePoint
impl Unpin for GroupReferencePoint
impl UnwindSafe for GroupReferencePoint
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