Struct geo_types::MultiPoint
source · pub struct MultiPoint<T>(pub Vec<Point<T>>)
where
T: CoordinateType;
Expand description
Tuple Fields
0: Vec<Point<T>>
Trait Implementations
sourceimpl<T: Clone> Clone for MultiPoint<T>where
T: CoordinateType,
impl<T: Clone> Clone for MultiPoint<T>where
T: CoordinateType,
sourcefn clone(&self) -> MultiPoint<T>
fn clone(&self) -> MultiPoint<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 MultiPoint<T>where
T: CoordinateType,
impl<T: Debug> Debug for MultiPoint<T>where
T: CoordinateType,
sourceimpl<T: CoordinateType, IP: Into<Point<T>>> From<IP> for MultiPoint<T>
impl<T: CoordinateType, IP: Into<Point<T>>> From<IP> for MultiPoint<T>
sourcefn from(x: IP) -> MultiPoint<T>
fn from(x: IP) -> MultiPoint<T>
Convert a single Point
(or something which can be converted to a Point
) into a
one-member MultiPoint
sourceimpl<T: CoordinateType> From<MultiPoint<T>> for Geometry<T>
impl<T: CoordinateType> From<MultiPoint<T>> for Geometry<T>
sourcefn from(x: MultiPoint<T>) -> Geometry<T>
fn from(x: MultiPoint<T>) -> Geometry<T>
Converts to this type from the input type.
sourceimpl<T: CoordinateType, IP: Into<Point<T>>> From<Vec<IP, Global>> for MultiPoint<T>
impl<T: CoordinateType, IP: Into<Point<T>>> From<Vec<IP, Global>> for MultiPoint<T>
sourcefn from(v: Vec<IP>) -> MultiPoint<T>
fn from(v: Vec<IP>) -> MultiPoint<T>
Convert a Vec
of Points
(or Vec
of things which can be converted to a Point
) into a
MultiPoint
.
sourceimpl<T: CoordinateType, IP: Into<Point<T>>> FromIterator<IP> for MultiPoint<T>
impl<T: CoordinateType, IP: Into<Point<T>>> FromIterator<IP> for MultiPoint<T>
sourcefn from_iter<I: IntoIterator<Item = IP>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = IP>>(iter: I) -> Self
Collect the results of a Point
iterator into a MultiPoint
sourceimpl<T: CoordinateType> IntoIterator for MultiPoint<T>
impl<T: CoordinateType> IntoIterator for MultiPoint<T>
Iterate over the Point
s in this MultiPoint
.
sourceimpl<T: PartialEq> PartialEq<MultiPoint<T>> for MultiPoint<T>where
T: CoordinateType,
impl<T: PartialEq> PartialEq<MultiPoint<T>> for MultiPoint<T>where
T: CoordinateType,
sourcefn eq(&self, other: &MultiPoint<T>) -> bool
fn eq(&self, other: &MultiPoint<T>) -> bool
impl<T> StructuralPartialEq for MultiPoint<T>where
T: CoordinateType,
Auto Trait Implementations
impl<T> RefUnwindSafe for MultiPoint<T>where
T: RefUnwindSafe,
impl<T> Send for MultiPoint<T>where
T: Send,
impl<T> Sync for MultiPoint<T>where
T: Sync,
impl<T> Unpin for MultiPoint<T>where
T: Unpin,
impl<T> UnwindSafe for MultiPoint<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