pub struct LineString {
pub points: Vec<Point>,
}Fields§
§points: Vec<Point>Trait Implementations§
Source§impl<'a> AsEwkbLineString<'a> for LineString
impl<'a> AsEwkbLineString<'a> for LineString
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 moreSource§impl Debug for LineString
impl Debug for LineString
Source§impl FromSql<'_> for LineString
impl FromSql<'_> for LineString
Source§fn accepts(ty: &Type) -> bool
fn accepts(ty: &Type) -> bool
Determines if a value of this type can be created from the specified
Postgres
Type.Source§fn from_sql(ty: &Type, raw: &[u8]) -> Result<Self, Box<dyn Error + Sync + Send>>
fn from_sql(ty: &Type, raw: &[u8]) -> Result<Self, Box<dyn Error + Sync + Send>>
Creates a new value of this type from a buffer of data of the specified
Postgres
Type in its binary format. Read moreSource§impl<'a> LineString<'a> for LineString
impl<'a> LineString<'a> for LineString
Source§impl PartialEq for LineString
impl PartialEq for LineString
Source§impl TwkbGeom for LineString
impl TwkbGeom for LineString
impl StructuralPartialEq for LineString
Auto Trait Implementations§
impl Freeze for LineString
impl RefUnwindSafe for LineString
impl Send for LineString
impl Sync for LineString
impl Unpin 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