Struct ExplorationMap
#[non_exhaustive]pub struct ExplorationMap {
pub destination: String,
pub decoration: String,
pub zoom: u8,
pub search_radius: i32,
pub skip_existing_chunks: bool,
}Expand description
A deferred exploration-map search requested by a loot function.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.destination: StringDestination structure tag, without #.
decoration: StringMap decoration identifier.
zoom: u8Map zoom.
search_radius: i32Search radius in chunks.
skip_existing_chunks: boolWhether to skip previously discovered structures.
Implementations§
§impl ExplorationMap
impl ExplorationMap
Trait Implementations§
§impl Clone for ExplorationMap
impl Clone for ExplorationMap
§fn clone(&self) -> ExplorationMap
fn clone(&self) -> ExplorationMap
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 more§impl Debug for ExplorationMap
impl Debug for ExplorationMap
impl Eq for ExplorationMap
§impl PartialEq for ExplorationMap
impl PartialEq for ExplorationMap
impl StructuralPartialEq for ExplorationMap
Auto Trait Implementations§
impl Freeze for ExplorationMap
impl RefUnwindSafe for ExplorationMap
impl Send for ExplorationMap
impl Sync for ExplorationMap
impl Unpin for ExplorationMap
impl UnsafeUnpin for ExplorationMap
impl UnwindSafe for ExplorationMap
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