pub struct WaveFunction1D {
pub psi: Vec<Complex>,
pub dx: f64,
pub x_min: f64,
}Expand description
1D wave function on a uniform grid.
Fields§
§psi: Vec<Complex>§dx: f64§x_min: f64Implementations§
Trait Implementations§
Source§impl Clone for WaveFunction1D
impl Clone for WaveFunction1D
Source§fn clone(&self) -> WaveFunction1D
fn clone(&self) -> WaveFunction1D
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 moreAuto Trait Implementations§
impl Freeze for WaveFunction1D
impl RefUnwindSafe for WaveFunction1D
impl Send for WaveFunction1D
impl Sync for WaveFunction1D
impl Unpin for WaveFunction1D
impl UnsafeUnpin for WaveFunction1D
impl UnwindSafe for WaveFunction1D
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