pub struct GenerateMapOptions {
pub temperature: f64,
pub seed: Option<String>,
pub charset: Option<String>,
}Expand description
Options for map generation
Fields§
§temperature: f64Temperature (0.0 to 1.0)
seed: Option<String>Seed for deterministic generation
charset: Option<String>Character set to create mappings for
Trait Implementations§
Source§impl Clone for GenerateMapOptions
impl Clone for GenerateMapOptions
Source§fn clone(&self) -> GenerateMapOptions
fn clone(&self) -> GenerateMapOptions
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 moreSource§impl Debug for GenerateMapOptions
impl Debug for GenerateMapOptions
Auto Trait Implementations§
impl Freeze for GenerateMapOptions
impl RefUnwindSafe for GenerateMapOptions
impl Send for GenerateMapOptions
impl Sync for GenerateMapOptions
impl Unpin for GenerateMapOptions
impl UnwindSafe for GenerateMapOptions
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