pub enum WKTAValue {
Point(VectorPoint),
Array(Vec<WKTAValue>),
}Expand description
WKT Value can be a point or an array of points
Variants§
Implementations§
Source§impl WKTAValue
impl WKTAValue
Sourcepub fn get_point(&mut self) -> Option<&mut VectorPoint>
pub fn get_point(&mut self) -> Option<&mut VectorPoint>
Get the Vector Point
Sourcepub fn get_linestring(&mut self) -> Option<VectorLineString>
pub fn get_linestring(&mut self) -> Option<VectorLineString>
Get a vector linestring
Sourcepub fn get_multilinestring(&mut self) -> Option<VectorMultiLineString>
pub fn get_multilinestring(&mut self) -> Option<VectorMultiLineString>
Get a vector multilinestring
Trait Implementations§
impl StructuralPartialEq for WKTAValue
Auto Trait Implementations§
impl Freeze for WKTAValue
impl RefUnwindSafe for WKTAValue
impl Send for WKTAValue
impl Sync for WKTAValue
impl Unpin for WKTAValue
impl UnwindSafe for WKTAValue
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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