pub struct CellCenter {
pub center_latitude: i32,
pub center_longitude: i32,
pub max_distance: u32,
}Expand description
Centre coordinates for a cell fragment (present when first_occurrence == 1).
Fields§
§center_latitude: i32center_latitude (18 bits, two’s complement, tcimsbf).
center_longitude: i32center_longitude (19 bits, two’s complement, tcimsbf).
max_distance: u32max_distance (24 bits).
Trait Implementations§
Source§impl Clone for CellCenter
impl Clone for CellCenter
Source§fn clone(&self) -> CellCenter
fn clone(&self) -> CellCenter
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 CellCenter
impl Debug for CellCenter
impl Eq for CellCenter
Source§impl PartialEq for CellCenter
impl PartialEq for CellCenter
Source§fn eq(&self, other: &CellCenter) -> bool
fn eq(&self, other: &CellCenter) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CellCenter
impl Serialize for CellCenter
impl StructuralPartialEq for CellCenter
Auto Trait Implementations§
impl Freeze for CellCenter
impl RefUnwindSafe for CellCenter
impl Send for CellCenter
impl Sync for CellCenter
impl Unpin for CellCenter
impl UnsafeUnpin for CellCenter
impl UnwindSafe for CellCenter
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