pub struct RenderedFeature {
pub feature: String,
pub layer_id: String,
pub source_id: String,
pub source_layer_id: String,
pub state: String,
}Expand description
A feature that a rendered feature query found.
See mln_rendered_feature in the
C API reference.
Fields§
§feature: StringThe feature, as a GeoJSON feature.
layer_id: StringThe layer that drew the feature.
source_id: String§source_layer_id: StringThe feature’s source layer, or empty when its source has none.
state: StringThe feature’s state, as a JSON object.
Trait Implementations§
Source§impl Clone for RenderedFeature
impl Clone for RenderedFeature
Source§fn clone(&self) -> RenderedFeature
fn clone(&self) -> RenderedFeature
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 RenderedFeature
impl Debug for RenderedFeature
Source§impl Default for RenderedFeature
impl Default for RenderedFeature
Source§fn default() -> RenderedFeature
fn default() -> RenderedFeature
Returns the “default value” for a type. Read more
Source§impl PartialEq for RenderedFeature
impl PartialEq for RenderedFeature
impl StructuralPartialEq for RenderedFeature
Auto Trait Implementations§
impl Freeze for RenderedFeature
impl RefUnwindSafe for RenderedFeature
impl Send for RenderedFeature
impl Sync for RenderedFeature
impl Unpin for RenderedFeature
impl UnsafeUnpin for RenderedFeature
impl UnwindSafe for RenderedFeature
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