pub struct NanSafetyCheck {
pub label: String,
pub domain: DomainType,
pub function: String,
pub params: Vec<(String, f64)>,
}Expand description
NaN safety check for a function with given parameters.
Fields§
§label: StringDescriptive label.
domain: DomainTypeScientific domain.
function: StringFunction name.
params: Vec<(String, f64)>Input parameters.
Implementations§
Source§impl NanSafetyCheck
impl NanSafetyCheck
Sourcepub fn new(
label: &str,
domain: DomainType,
function: &str,
params: Vec<(&str, f64)>,
) -> NanSafetyCheck
pub fn new( label: &str, domain: DomainType, function: &str, params: Vec<(&str, f64)>, ) -> NanSafetyCheck
Creates a NaN safety check.
Trait Implementations§
Source§impl Clone for NanSafetyCheck
impl Clone for NanSafetyCheck
Source§fn clone(&self) -> NanSafetyCheck
fn clone(&self) -> NanSafetyCheck
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 moreAuto Trait Implementations§
impl Freeze for NanSafetyCheck
impl RefUnwindSafe for NanSafetyCheck
impl Send for NanSafetyCheck
impl Sync for NanSafetyCheck
impl Unpin for NanSafetyCheck
impl UnsafeUnpin for NanSafetyCheck
impl UnwindSafe for NanSafetyCheck
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