pub struct UnimplementedLineString<T: CoordNum>(/* private fields */);
Expand description
An empty struct that implements LineStringTrait.
This can be used as the LineStringType
of the GeometryTrait
by implementations that don’t
have a LineString concept
Trait Implementations§
Source§impl<T: CoordNum> LineStringTrait for UnimplementedLineString<T>
impl<T: CoordNum> LineStringTrait for UnimplementedLineString<T>
Source§type CoordType<'a> = UnimplementedCoord<<UnimplementedLineString<T> as LineStringTrait>::T>
where
Self: 'a
type CoordType<'a> = UnimplementedCoord<<UnimplementedLineString<T> as LineStringTrait>::T> where Self: 'a
The type of each underlying coordinate, which implements CoordTrait
Source§fn dim(&self) -> Dimensions
fn dim(&self) -> Dimensions
The dimension of this geometry
Source§fn num_coords(&self) -> usize
fn num_coords(&self) -> usize
The number of coordinates in this LineString
Source§unsafe fn coord_unchecked(&self, _i: usize) -> Self::CoordType<'_>
unsafe fn coord_unchecked(&self, _i: usize) -> Self::CoordType<'_>
Access to a specified coordinate in this LineString Read more
Source§fn coords(
&self,
) -> impl DoubleEndedIterator + ExactSizeIterator<Item = Self::CoordType<'_>>
fn coords( &self, ) -> impl DoubleEndedIterator + ExactSizeIterator<Item = Self::CoordType<'_>>
An iterator over the coordinates in this LineString
Auto Trait Implementations§
impl<T> Freeze for UnimplementedLineString<T>
impl<T> RefUnwindSafe for UnimplementedLineString<T>where
T: RefUnwindSafe,
impl<T> Send for UnimplementedLineString<T>where
T: Send,
impl<T> Sync for UnimplementedLineString<T>where
T: Sync,
impl<T> Unpin for UnimplementedLineString<T>where
T: Unpin,
impl<T> UnwindSafe for UnimplementedLineString<T>where
T: UnwindSafe,
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