pub struct TopmodelModel { /* private fields */ }Trait Implementations§
Source§impl HydroModel for TopmodelModel
impl HydroModel for TopmodelModel
Source§type Params = TopmodelParams
type Params = TopmodelParams
Model-specific parameters (serializable for config persistence).
Source§fn new(params: Self::Params) -> Self
fn new(params: Self::Params) -> Self
Construct a model instance with the given parameters (default state).
Source§fn step(&mut self, f: &Forcing, dt_h: f64)
fn step(&mut self, f: &Forcing, dt_h: f64)
Advance one time-step given the forcing (precipitation, PET, temperature).
Source§fn params_mut(&mut self) -> &mut Self::Params
fn params_mut(&mut self) -> &mut Self::Params
Mutable access to parameters (for calibration).
Auto Trait Implementations§
impl Freeze for TopmodelModel
impl RefUnwindSafe for TopmodelModel
impl Send for TopmodelModel
impl Sync for TopmodelModel
impl Unpin for TopmodelModel
impl UnsafeUnpin for TopmodelModel
impl UnwindSafe for TopmodelModel
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