pub struct BeamlineParams {
pub flight_path_m: f64,
pub delay_us: f64,
}Expand description
VENUS beamline parameters for TOF-to-energy conversion.
Fields§
§flight_path_m: f64Total flight path in meters (source to detector).
delay_us: f64Delay time in microseconds (electronic/moderator delay).
Trait Implementations§
Source§impl Clone for BeamlineParams
impl Clone for BeamlineParams
Source§fn clone(&self) -> BeamlineParams
fn clone(&self) -> BeamlineParams
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 moreSource§impl Debug for BeamlineParams
impl Debug for BeamlineParams
Source§impl Default for BeamlineParams
impl Default for BeamlineParams
impl Copy for BeamlineParams
Auto Trait Implementations§
impl Freeze for BeamlineParams
impl RefUnwindSafe for BeamlineParams
impl Send for BeamlineParams
impl Sync for BeamlineParams
impl Unpin for BeamlineParams
impl UnsafeUnpin for BeamlineParams
impl UnwindSafe for BeamlineParams
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