Enum RenderedQueryGeometry
#[non_exhaustive]pub enum RenderedQueryGeometry {
Point(ScreenPoint),
Box(ScreenBox),
LineString(Vec<ScreenPoint>),
}Expand description
Screen-space geometry used for rendered feature queries.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
§impl RenderedQueryGeometry
impl RenderedQueryGeometry
pub fn point(point: ScreenPoint) -> RenderedQueryGeometry
pub fn box_(box_: ScreenBox) -> RenderedQueryGeometry
pub fn line_string(points: Vec<ScreenPoint>) -> RenderedQueryGeometry
Trait Implementations§
§impl Clone for RenderedQueryGeometry
impl Clone for RenderedQueryGeometry
§fn clone(&self) -> RenderedQueryGeometry
fn clone(&self) -> RenderedQueryGeometry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for RenderedQueryGeometry
impl Debug for RenderedQueryGeometry
§impl PartialEq for RenderedQueryGeometry
impl PartialEq for RenderedQueryGeometry
impl StructuralPartialEq for RenderedQueryGeometry
Auto Trait Implementations§
impl Freeze for RenderedQueryGeometry
impl RefUnwindSafe for RenderedQueryGeometry
impl Send for RenderedQueryGeometry
impl Sync for RenderedQueryGeometry
impl Unpin for RenderedQueryGeometry
impl UnsafeUnpin for RenderedQueryGeometry
impl UnwindSafe for RenderedQueryGeometry
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