pub struct Geometries { /* private fields */ }Expand description
Collection of mixed geometries.
Implementations§
Source§impl Geometries
impl Geometries
Sourcepub fn num_geometries(&self) -> usize
pub fn num_geometries(&self) -> usize
Return the number of items in this.
Sourcepub fn geometries(&self) -> Iter<'_, G>
pub fn geometries(&self) -> Iter<'_, G>
Return an iterator over the geometries.
Trait Implementations§
Source§impl Clone for Geometries
impl Clone for Geometries
Source§fn clone(&self) -> Geometries
fn clone(&self) -> Geometries
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 Geometries
impl Debug for Geometries
Source§impl Display for Geometries
impl Display for Geometries
Source§impl GTrait for Geometries
impl GTrait for Geometries
Source§fn to_wkt_fmt(&self, precision: usize) -> String
fn to_wkt_fmt(&self, precision: usize) -> String
Generate a WKT string similar to the
to_wkt()alternative but w/ a
given precision paramter representing the number of digits to print
after the decimal point. Note though that if precision is 0 only
the integer part of the coordinate will be shown. Read moreSource§impl PartialEq for Geometries
impl PartialEq for Geometries
Source§impl PartialOrd for Geometries
impl PartialOrd for Geometries
Source§impl TryFrom<ConstGeometry<'_>> for Geometries
impl TryFrom<ConstGeometry<'_>> for Geometries
Source§impl TryFrom<Geometry> for Geometries
impl TryFrom<Geometry> for Geometries
impl StructuralPartialEq for Geometries
Auto Trait Implementations§
impl Freeze for Geometries
impl RefUnwindSafe for Geometries
impl Send for Geometries
impl Sync for Geometries
impl Unpin for Geometries
impl UnwindSafe for Geometries
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more