pub struct Ring(pub Vec<Point>);
Expand description
Polygon without holes.
https://clickhouse.com/docs/en/sql-reference/data-types/geo#ring
Tuple Fields§
§0: Vec<Point>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ring
impl<'de> Deserialize<'de> for Ring
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
Source§impl From<LineString> for Ring
impl From<LineString> for Ring
Source§fn from(source: LineString) -> Self
fn from(source: LineString) -> Self
Converts to this type from the input type.
Source§impl From<Ring> for LineString
impl From<Ring> for LineString
impl StructuralPartialEq for Ring
Auto Trait Implementations§
impl Freeze for Ring
impl RefUnwindSafe for Ring
impl Send for Ring
impl Sync for Ring
impl Unpin for Ring
impl UnwindSafe for Ring
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