pub struct UnimplementedMultiLineString<T: CoordNum>(/* private fields */);
Expand description
An empty struct that implements MultiLineStringTrait.
This can be used as the MultiLineStringType
of the GeometryTrait
by implementations that
don’t have a MultiLineString concept
Trait Implementations§
Source§impl<T: CoordNum> MultiLineStringTrait for UnimplementedMultiLineString<T>
impl<T: CoordNum> MultiLineStringTrait for UnimplementedMultiLineString<T>
Source§type LineStringType<'a> = UnimplementedLineString<<UnimplementedMultiLineString<T> as MultiLineStringTrait>::T>
where
Self: 'a
type LineStringType<'a> = UnimplementedLineString<<UnimplementedMultiLineString<T> as MultiLineStringTrait>::T> where Self: 'a
The type of each underlying LineString, which implements LineStringTrait
Source§fn dim(&self) -> Dimensions
fn dim(&self) -> Dimensions
The dimension of this geometry
Source§fn num_line_strings(&self) -> usize
fn num_line_strings(&self) -> usize
The number of line_strings in this MultiLineString
Source§unsafe fn line_string_unchecked(&self, _i: usize) -> Self::LineStringType<'_>
unsafe fn line_string_unchecked(&self, _i: usize) -> Self::LineStringType<'_>
Access to a specified line_string in this MultiLineString Read more
Source§fn line_strings(
&self,
) -> impl DoubleEndedIterator + ExactSizeIterator<Item = Self::LineStringType<'_>>
fn line_strings( &self, ) -> impl DoubleEndedIterator + ExactSizeIterator<Item = Self::LineStringType<'_>>
An iterator over the LineStrings in this MultiLineString
Source§fn line_string(&self, i: usize) -> Option<Self::LineStringType<'_>>
fn line_string(&self, i: usize) -> Option<Self::LineStringType<'_>>
Access to a specified line_string in this MultiLineString
Will return None if the provided index is out of bounds
Auto Trait Implementations§
impl<T> Freeze for UnimplementedMultiLineString<T>
impl<T> RefUnwindSafe for UnimplementedMultiLineString<T>where
T: RefUnwindSafe,
impl<T> Send for UnimplementedMultiLineString<T>where
T: Send,
impl<T> Sync for UnimplementedMultiLineString<T>where
T: Sync,
impl<T> Unpin for UnimplementedMultiLineString<T>where
T: Unpin,
impl<T> UnwindSafe for UnimplementedMultiLineString<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