pub struct SourceFeature {
pub feature: String,
pub source_layer_id: String,
}Expand description
A feature that a source feature query found.
See mln_source_feature in the
C API reference.
Fields§
§feature: StringThe feature, as a GeoJSON feature.
source_layer_id: StringThe feature’s source layer, or empty when its source has none.
Trait Implementations§
Source§impl Clone for SourceFeature
impl Clone for SourceFeature
Source§fn clone(&self) -> SourceFeature
fn clone(&self) -> SourceFeature
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SourceFeature
impl Debug for SourceFeature
Source§impl Default for SourceFeature
impl Default for SourceFeature
Source§fn default() -> SourceFeature
fn default() -> SourceFeature
Returns the “default value” for a type. Read more
Source§impl PartialEq for SourceFeature
impl PartialEq for SourceFeature
impl StructuralPartialEq for SourceFeature
Auto Trait Implementations§
impl Freeze for SourceFeature
impl RefUnwindSafe for SourceFeature
impl Send for SourceFeature
impl Sync for SourceFeature
impl Unpin for SourceFeature
impl UnsafeUnpin for SourceFeature
impl UnwindSafe for SourceFeature
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
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