Struct geo_types::MultiLineString
source · pub struct MultiLineString<T>(pub Vec<LineString<T>>)
where
T: CoordinateType;
Expand description
A collection of LineString
s
Can be created from a Vec
of LineString
s, or from an Iterator which yields LineString
s.
Iterating over this objects, yields the component LineString
s.
Tuple Fields
0: Vec<LineString<T>>
Trait Implementations
sourceimpl<T: Clone> Clone for MultiLineString<T>where
T: CoordinateType,
impl<T: Clone> Clone for MultiLineString<T>where
T: CoordinateType,
sourcefn clone(&self) -> MultiLineString<T>
fn clone(&self) -> MultiLineString<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<T: Debug> Debug for MultiLineString<T>where
T: CoordinateType,
impl<T: Debug> Debug for MultiLineString<T>where
T: CoordinateType,
sourceimpl<T: CoordinateType, ILS: Into<LineString<T>>> From<ILS> for MultiLineString<T>
impl<T: CoordinateType, ILS: Into<LineString<T>>> From<ILS> for MultiLineString<T>
sourceimpl<T: CoordinateType> From<MultiLineString<T>> for Geometry<T>
impl<T: CoordinateType> From<MultiLineString<T>> for Geometry<T>
sourcefn from(x: MultiLineString<T>) -> Geometry<T>
fn from(x: MultiLineString<T>) -> Geometry<T>
Converts to this type from the input type.
sourceimpl<T: CoordinateType, ILS: Into<LineString<T>>> FromIterator<ILS> for MultiLineString<T>
impl<T: CoordinateType, ILS: Into<LineString<T>>> FromIterator<ILS> for MultiLineString<T>
sourcefn from_iter<I: IntoIterator<Item = ILS>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = ILS>>(iter: I) -> Self
Creates a value from an iterator. Read more
sourceimpl<T: CoordinateType> IntoIterator for MultiLineString<T>
impl<T: CoordinateType> IntoIterator for MultiLineString<T>
type Item = LineString<T>
type Item = LineString<T>
The type of the elements being iterated over.
type IntoIter = IntoIter<LineString<T>, Global>
type IntoIter = IntoIter<LineString<T>, Global>
Which kind of iterator are we turning this into?
sourceimpl<T: PartialEq> PartialEq<MultiLineString<T>> for MultiLineString<T>where
T: CoordinateType,
impl<T: PartialEq> PartialEq<MultiLineString<T>> for MultiLineString<T>where
T: CoordinateType,
sourcefn eq(&self, other: &MultiLineString<T>) -> bool
fn eq(&self, other: &MultiLineString<T>) -> bool
impl<T> StructuralPartialEq for MultiLineString<T>where
T: CoordinateType,
Auto Trait Implementations
impl<T> RefUnwindSafe for MultiLineString<T>where
T: RefUnwindSafe,
impl<T> Send for MultiLineString<T>where
T: Send,
impl<T> Sync for MultiLineString<T>where
T: Sync,
impl<T> Unpin for MultiLineString<T>where
T: Unpin,
impl<T> UnwindSafe for MultiLineString<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more