pub struct LineString {
pub coords: Vec<GeoCoord>,
}Expand description
An ordered sequence of coordinates forming a line.
Must contain at least two coordinates to be meaningful; consumers should treat shorter sequences as degenerate.
Fields§
§coords: Vec<GeoCoord>The coordinates of the line vertices.
Trait Implementations§
Source§impl Clone for LineString
impl Clone for LineString
Source§fn clone(&self) -> LineString
fn clone(&self) -> LineString
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LineString
impl RefUnwindSafe for LineString
impl Send for LineString
impl Sync for LineString
impl Unpin for LineString
impl UnsafeUnpin for LineString
impl UnwindSafe for LineString
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