pub struct DoubleSlitSetup {
pub slit_width: f64,
pub slit_separation: f64,
pub wavelength: f64,
pub screen_distance: f64,
}Expand description
Configuration for a double-slit experiment.
Fields§
§slit_width: f64§slit_separation: f64§wavelength: f64§screen_distance: f64Implementations§
Trait Implementations§
Source§impl Clone for DoubleSlitSetup
impl Clone for DoubleSlitSetup
Source§fn clone(&self) -> DoubleSlitSetup
fn clone(&self) -> DoubleSlitSetup
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 DoubleSlitSetup
impl RefUnwindSafe for DoubleSlitSetup
impl Send for DoubleSlitSetup
impl Sync for DoubleSlitSetup
impl Unpin for DoubleSlitSetup
impl UnsafeUnpin for DoubleSlitSetup
impl UnwindSafe for DoubleSlitSetup
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