[−][src]Struct postgis::ewkb::LineStringT
Fields
points: Vec<P>
srid: Option<i32>
Methods
impl<P: Point + EwkbRead> LineStringT<P>
[src]
impl<P: Point + EwkbRead> LineStringT<P>
pub fn new() -> LineStringT<P>
[src]
pub fn new() -> LineStringT<P>
Trait Implementations
impl<'a, P> LineString<'a> for LineStringT<P> where
P: 'a + Point + EwkbRead,
[src]
impl<'a, P> LineString<'a> for LineStringT<P> where
P: 'a + Point + EwkbRead,
impl<P> EwkbRead for LineStringT<P> where
P: Point + EwkbRead,
[src]
impl<P> EwkbRead for LineStringT<P> where
P: Point + EwkbRead,
fn point_type() -> PointType
[src]
fn point_type() -> PointType
fn read_ewkb_body<R: Read>(
raw: &mut R,
is_be: bool,
srid: Option<i32>
) -> Result<Self, Error>
[src]
fn read_ewkb_body<R: Read>(
raw: &mut R,
is_be: bool,
srid: Option<i32>
) -> Result<Self, Error>
fn read_ewkb<R: Read>(raw: &mut R) -> Result<Self, Error>
[src]
fn read_ewkb<R: Read>(raw: &mut R) -> Result<Self, Error>
impl<'a, P> AsEwkbLineString<'a> for LineStringT<P> where
P: 'a + Point + EwkbRead,
[src]
impl<'a, P> AsEwkbLineString<'a> for LineStringT<P> where
P: 'a + Point + EwkbRead,
type PointType = P
type Iter = Iter<'a, P>
fn as_ewkb(&'a self) -> EwkbLineString<'a, Self::PointType, Self::Iter>
[src]
fn as_ewkb(&'a self) -> EwkbLineString<'a, Self::PointType, Self::Iter>
impl<P: Clone + Point + EwkbRead> Clone for LineStringT<P>
[src]
impl<P: Clone + Point + EwkbRead> Clone for LineStringT<P>
fn clone(&self) -> LineStringT<P>
[src]
fn clone(&self) -> LineStringT<P>
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<P: PartialEq + Point + EwkbRead> PartialEq<LineStringT<P>> for LineStringT<P>
[src]
impl<P: PartialEq + Point + EwkbRead> PartialEq<LineStringT<P>> for LineStringT<P>
fn eq(&self, other: &LineStringT<P>) -> bool
[src]
fn eq(&self, other: &LineStringT<P>) -> bool
fn ne(&self, other: &LineStringT<P>) -> bool
[src]
fn ne(&self, other: &LineStringT<P>) -> bool
impl<P: Debug + Point + EwkbRead> Debug for LineStringT<P>
[src]
impl<P: Debug + Point + EwkbRead> Debug for LineStringT<P>
impl<P> FromIterator<P> for LineStringT<P> where
P: Point + EwkbRead,
[src]
impl<P> FromIterator<P> for LineStringT<P> where
P: Point + EwkbRead,
fn from_iter<I: IntoIterator<Item = P>>(iterable: I) -> LineStringT<P>
[src]
fn from_iter<I: IntoIterator<Item = P>>(iterable: I) -> LineStringT<P>
impl<P> FromIterator<LineStringT<P>> for PolygonT<P> where
P: Point + EwkbRead,
[src]
impl<P> FromIterator<LineStringT<P>> for PolygonT<P> where
P: Point + EwkbRead,
fn from_iter<I: IntoIterator<Item = LineStringT<P>>>(iterable: I) -> PolygonT<P>
[src]
fn from_iter<I: IntoIterator<Item = LineStringT<P>>>(iterable: I) -> PolygonT<P>
impl<P> FromIterator<LineStringT<P>> for MultiLineStringT<P> where
P: Point + EwkbRead,
[src]
impl<P> FromIterator<LineStringT<P>> for MultiLineStringT<P> where
P: Point + EwkbRead,
fn from_iter<I: IntoIterator<Item = LineStringT<P>>>(
iterable: I
) -> MultiLineStringT<P>
[src]
fn from_iter<I: IntoIterator<Item = LineStringT<P>>>(
iterable: I
) -> MultiLineStringT<P>
impl<'a, T> ToSql for LineStringT<T> where
T: 'a + Point + EwkbRead,
[src]
impl<'a, T> ToSql for LineStringT<T> where
T: 'a + Point + EwkbRead,
fn to_sql(
&self,
_: &Type,
out: &mut Vec<u8>
) -> Result<IsNull, Box<dyn Error + Sync + Send>>
[src]
fn to_sql(
&self,
_: &Type,
out: &mut Vec<u8>
) -> Result<IsNull, Box<dyn Error + Sync + Send>>
fn to_sql_checked(
&self,
ty: &Type,
out: &mut Vec<u8>
) -> Result<IsNull, Box<dyn Error + Sync + Send>>
fn to_sql_checked(
&self,
ty: &Type,
out: &mut Vec<u8>
) -> Result<IsNull, Box<dyn Error + Sync + Send>>
fn accepts(ty: &Type) -> bool
[src]
fn accepts(ty: &Type) -> bool
impl<'a, T> FromSql for LineStringT<T> where
T: 'a + Point + EwkbRead,
[src]
impl<'a, T> FromSql for LineStringT<T> where
T: 'a + Point + EwkbRead,
fn from_sql(ty: &Type, raw: &[u8]) -> Result<Self, Box<dyn Error + Sync + Send>>
[src]
fn from_sql(ty: &Type, raw: &[u8]) -> Result<Self, Box<dyn Error + Sync + Send>>
fn accepts(ty: &Type) -> bool
[src]
fn accepts(ty: &Type) -> bool
fn from_sql_null(
ty: &Type
) -> Result<Self, Box<dyn Error + 'static + Sync + Send>>
fn from_sql_null(
ty: &Type
) -> Result<Self, Box<dyn Error + 'static + Sync + Send>>
Creates a new value of this type from a NULL
SQL value. Read more
fn from_sql_nullable(
ty: &Type,
raw: Option<&[u8]>
) -> Result<Self, Box<dyn Error + 'static + Sync + Send>>
fn from_sql_nullable(
ty: &Type,
raw: Option<&[u8]>
) -> Result<Self, Box<dyn Error + 'static + Sync + Send>>
A convenience function that delegates to from_sql
and from_sql_null
depending on the value of raw
. Read more
Auto Trait Implementations
impl<P> Send for LineStringT<P> where
P: Send,
impl<P> Send for LineStringT<P> where
P: Send,
impl<P> Sync for LineStringT<P> where
P: Sync,
impl<P> Sync for LineStringT<P> where
P: Sync,
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> Same for T
impl<T> Same for T
type Output = T
Should always be Self