pub struct WorkFunction {
pub formula: &'static str,
pub phi_ev: f64,
}Fields§
§formula: &'static str§phi_ev: f64Trait Implementations§
Source§impl Clone for WorkFunction
impl Clone for WorkFunction
Source§fn clone(&self) -> WorkFunction
fn clone(&self) -> WorkFunction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WorkFunction
impl Debug for WorkFunction
impl Copy for WorkFunction
Auto Trait Implementations§
impl Freeze for WorkFunction
impl RefUnwindSafe for WorkFunction
impl Send for WorkFunction
impl Sync for WorkFunction
impl Unpin for WorkFunction
impl UnsafeUnpin for WorkFunction
impl UnwindSafe for WorkFunction
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