pub struct RiverSystem {
pub num_rivers: usize,
pub min_source_elev: f32,
pub erosion_amount: f32,
}Expand description
Generates rivers by flowing downhill from high-elevation sources.
Fields§
§num_rivers: usize§min_source_elev: f32§erosion_amount: f32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RiverSystem
impl RefUnwindSafe for RiverSystem
impl Send for RiverSystem
impl Sync for RiverSystem
impl Unpin for RiverSystem
impl UnsafeUnpin for RiverSystem
impl UnwindSafe for RiverSystem
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