Struct geo_types::MultiLineString [−][src]
pub struct MultiLineString<T>(pub Vec<LineString<T>>)
where
T: CoordinateType;
A collection of LineStrings
Can be created from a Vec of LineStrings, or from an Iterator which yields LineStrings.
Iterating over this objects, yields the component LineStrings.
Trait Implementations
impl<T: PartialEq> PartialEq for MultiLineString<T> where
T: CoordinateType, [src]
impl<T: PartialEq> PartialEq for MultiLineString<T> where
T: CoordinateType, fn eq(&self, other: &MultiLineString<T>) -> bool[src]
fn eq(&self, other: &MultiLineString<T>) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &MultiLineString<T>) -> bool[src]
fn ne(&self, other: &MultiLineString<T>) -> boolThis method tests for !=.
impl<T: Clone> Clone for MultiLineString<T> where
T: CoordinateType, [src]
impl<T: Clone> Clone for MultiLineString<T> where
T: CoordinateType, fn clone(&self) -> MultiLineString<T>[src]
fn clone(&self) -> MultiLineString<T>Returns a copy of the value. Read more
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<T: Debug> Debug for MultiLineString<T> where
T: CoordinateType, [src]
impl<T: Debug> Debug for MultiLineString<T> where
T: CoordinateType, fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<T: CoordinateType, ILS: Into<LineString<T>>> From<ILS> for MultiLineString<T>[src]
impl<T: CoordinateType, ILS: Into<LineString<T>>> From<ILS> for MultiLineString<T>impl<T: CoordinateType, ILS: Into<LineString<T>>> FromIterator<ILS> for MultiLineString<T>[src]
impl<T: CoordinateType, ILS: Into<LineString<T>>> FromIterator<ILS> for MultiLineString<T>fn from_iter<I: IntoIterator<Item = ILS>>(iter: I) -> Self[src]
fn from_iter<I: IntoIterator<Item = ILS>>(iter: I) -> SelfCreates a value from an iterator. Read more
impl<T: CoordinateType> IntoIterator for MultiLineString<T>[src]
impl<T: CoordinateType> IntoIterator for MultiLineString<T>type Item = LineString<T>
The type of the elements being iterated over.
type IntoIter = IntoIter<LineString<T>>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter[src]
fn into_iter(self) -> Self::IntoIterCreates an iterator from a value. Read more
impl<T: CoordinateType> From<MultiLineString<T>> for Geometry<T>[src]
impl<T: CoordinateType> From<MultiLineString<T>> for Geometry<T>fn from(x: MultiLineString<T>) -> Geometry<T>[src]
fn from(x: MultiLineString<T>) -> Geometry<T>Performs the conversion.
Auto Trait Implementations
impl<T> Send for MultiLineString<T> where
T: Send,
impl<T> Send for MultiLineString<T> where
T: Send, impl<T> Sync for MultiLineString<T> where
T: Sync,
impl<T> Sync for MultiLineString<T> where
T: Sync,