pub struct Loc {
pub version: u8,
pub size: u8,
pub horizontal_precision: u8,
pub vertical_precision: u8,
pub latitude: u32,
pub longitude: u32,
pub altitude: u32,
}Expand description
§Location information
This record is used to return a location for a host
Fields§
§version: u8The version of the location record
size: u8The size of the location record
horizontal_precision: u8The horizontal precision of the location record
vertical_precision: u8The vertical precision of the location record
latitude: u32The latitude of the location record
longitude: u32The longitude of the location record
altitude: u32The altitude of the location record
Trait Implementations§
impl Copy for Loc
impl StructuralPartialEq for Loc
Auto Trait Implementations§
impl Freeze for Loc
impl RefUnwindSafe for Loc
impl Send for Loc
impl Sync for Loc
impl Unpin for Loc
impl UnwindSafe for Loc
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