pub struct Center {
pub lon: f64,
pub lat: f64,
pub zoom: u8,
}Expand description
Store where the center of the data lives
Fields§
§lon: f64The longitude of the center
lat: f64The latitude of the center
zoom: u8The zoom of the center
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Center
impl<'de> Deserialize<'de> for Center
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
impl StructuralPartialEq for Center
Auto Trait Implementations§
impl Freeze for Center
impl RefUnwindSafe for Center
impl Send for Center
impl Sync for Center
impl Unpin for Center
impl UnwindSafe for Center
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