pub struct MapGenPresets {
pub name: &'static str,
}Expand description
Minimal MapGenPresets for data.extend.
The available map gen presets.
type = "map-gen-presets" is injected by the Lua generator.
Fields§
§name: &'static strName of the map gen presets. Base game uses “default”.
Trait Implementations§
Source§impl Clone for MapGenPresets
impl Clone for MapGenPresets
Source§fn clone(&self) -> MapGenPresets
fn clone(&self) -> MapGenPresets
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 moreimpl Copy for MapGenPresets
Source§impl Debug for MapGenPresets
impl Debug for MapGenPresets
Source§impl Default for MapGenPresets
impl Default for MapGenPresets
Source§fn default() -> MapGenPresets
fn default() -> MapGenPresets
Returns the “default value” for a type. Read more
impl Eq for MapGenPresets
Source§impl PartialEq for MapGenPresets
impl PartialEq for MapGenPresets
impl StructuralPartialEq for MapGenPresets
Auto Trait Implementations§
impl Freeze for MapGenPresets
impl RefUnwindSafe for MapGenPresets
impl Send for MapGenPresets
impl Sync for MapGenPresets
impl Unpin for MapGenPresets
impl UnsafeUnpin for MapGenPresets
impl UnwindSafe for MapGenPresets
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