pub struct SourceFeatureQueryOptions<'a> {
pub source_layer_ids: Option<&'a [&'a str]>,
pub filter: &'a str,
}Expand description
Options for a source feature query.
See mln_source_feature_query_options in the
C API reference.
Fields§
§source_layer_ids: Option<&'a [&'a str]>The source layers to query. A vector source finds features only in the source layers named here.
filter: &'a strA [filter](https://maplibre.org/maplibre-style-spec/expressions/) that each feature must match. Empty matches every feature.
Trait Implementations§
Source§impl<'a> Clone for SourceFeatureQueryOptions<'a>
impl<'a> Clone for SourceFeatureQueryOptions<'a>
Source§fn clone(&self) -> SourceFeatureQueryOptions<'a>
fn clone(&self) -> SourceFeatureQueryOptions<'a>
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<'a> Debug for SourceFeatureQueryOptions<'a>
impl<'a> Debug for SourceFeatureQueryOptions<'a>
Source§impl<'a> Default for SourceFeatureQueryOptions<'a>
impl<'a> Default for SourceFeatureQueryOptions<'a>
Source§fn default() -> SourceFeatureQueryOptions<'a>
fn default() -> SourceFeatureQueryOptions<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> PartialEq for SourceFeatureQueryOptions<'a>
impl<'a> PartialEq for SourceFeatureQueryOptions<'a>
impl<'a> StructuralPartialEq for SourceFeatureQueryOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for SourceFeatureQueryOptions<'a>
impl<'a> RefUnwindSafe for SourceFeatureQueryOptions<'a>
impl<'a> Send for SourceFeatureQueryOptions<'a>
impl<'a> Sync for SourceFeatureQueryOptions<'a>
impl<'a> Unpin for SourceFeatureQueryOptions<'a>
impl<'a> UnsafeUnpin for SourceFeatureQueryOptions<'a>
impl<'a> UnwindSafe for SourceFeatureQueryOptions<'a>
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