pub struct RegionOverlayQueryOptions {
pub include_slime: bool,
pub include_hardcoded_spawn_areas: bool,
pub include_entities: bool,
pub include_block_entities: bool,
pub include_villages: bool,
pub max_chunks: usize,
pub max_items_per_kind: usize,
}Expand description
Query options with hard limits for interactive map use.
Fields§
§include_slime: boolWhether slime chunk overlays are included.
include_hardcoded_spawn_areas: boolWhether hardcoded spawn areas are included.
include_entities: boolWhether entity overlays are included.
include_block_entities: boolWhether block-entity overlays are included.
include_villages: boolWhether village overlays are included.
max_chunks: usizeMaximum chunks accepted for this query.
max_items_per_kind: usizeMaximum overlay items returned for each item kind.
Trait Implementations§
Source§impl Clone for RegionOverlayQueryOptions
impl Clone for RegionOverlayQueryOptions
Source§fn clone(&self) -> RegionOverlayQueryOptions
fn clone(&self) -> RegionOverlayQueryOptions
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 RegionOverlayQueryOptions
impl Debug for RegionOverlayQueryOptions
Source§impl Default for RegionOverlayQueryOptions
impl Default for RegionOverlayQueryOptions
Source§impl PartialEq for RegionOverlayQueryOptions
impl PartialEq for RegionOverlayQueryOptions
Source§fn eq(&self, other: &RegionOverlayQueryOptions) -> bool
fn eq(&self, other: &RegionOverlayQueryOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RegionOverlayQueryOptions
impl Eq for RegionOverlayQueryOptions
impl StructuralPartialEq for RegionOverlayQueryOptions
Auto Trait Implementations§
impl Freeze for RegionOverlayQueryOptions
impl RefUnwindSafe for RegionOverlayQueryOptions
impl Send for RegionOverlayQueryOptions
impl Sync for RegionOverlayQueryOptions
impl Unpin for RegionOverlayQueryOptions
impl UnsafeUnpin for RegionOverlayQueryOptions
impl UnwindSafe for RegionOverlayQueryOptions
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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