pub struct CityStreamerConfig {
pub tile_size: f32,
pub base_seed: u64,
pub tensor: TensorConfig,
pub rationalize: RationalizeConfig,
pub lots: LotConfig,
}Expand description
Configuration for a CityStreamer.
Fields§
§tile_size: f32Side length of each tile in world units. All tiles are square. Must be positive.
base_seed: u64Base seed mixed with tile coordinates to derive per-tile seeds.
Reproducibility: the same base_seed + tile coordinate always
yields the same tile content.
tensor: TensorConfigTensor / road generation parameters. The seed field is overwritten
per-tile; the water_level and field are forwarded as-is.
rationalize: RationalizeConfigGraph rationalization parameters.
lots: LotConfigLot extraction parameters.
Trait Implementations§
Source§impl Clone for CityStreamerConfig
impl Clone for CityStreamerConfig
Source§fn clone(&self) -> CityStreamerConfig
fn clone(&self) -> CityStreamerConfig
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 moreAuto Trait Implementations§
impl Freeze for CityStreamerConfig
impl RefUnwindSafe for CityStreamerConfig
impl Send for CityStreamerConfig
impl Sync for CityStreamerConfig
impl Unpin for CityStreamerConfig
impl UnsafeUnpin for CityStreamerConfig
impl UnwindSafe for CityStreamerConfig
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