pub enum GeoPoint {
Empty,
GeoPoint(GeoPoint),
}Expand description
Variants§
Trait Implementations§
Source§impl Deserializable for GeoPoint
impl Deserializable for GeoPoint
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<GeoPointEmpty> for GeoPoint
impl From<GeoPointEmpty> for GeoPoint
Source§fn from(_x: GeoPointEmpty) -> Self
fn from(_x: GeoPointEmpty) -> Self
Converts to this type from the input type.
Source§impl Serializable for GeoPoint
impl Serializable for GeoPoint
impl StructuralPartialEq for GeoPoint
Auto Trait Implementations§
impl Freeze for GeoPoint
impl RefUnwindSafe for GeoPoint
impl Send for GeoPoint
impl Sync for GeoPoint
impl Unpin for GeoPoint
impl UnsafeUnpin for GeoPoint
impl UnwindSafe for GeoPoint
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