pub struct NanInfLocation {
pub index: usize,
pub value: f64,
pub is_nan: bool,
}Expand description
Location of a NaN or Inf value found in a buffer.
Fields§
§index: usizeIndex into the buffer.
value: f64The problematic value (as f64 for uniform reporting).
is_nan: booltrue if NaN, false if Inf.
Trait Implementations§
Source§impl Clone for NanInfLocation
impl Clone for NanInfLocation
Source§fn clone(&self) -> NanInfLocation
fn clone(&self) -> NanInfLocation
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 NanInfLocation
impl Debug for NanInfLocation
Source§impl PartialEq for NanInfLocation
impl PartialEq for NanInfLocation
impl StructuralPartialEq for NanInfLocation
Auto Trait Implementations§
impl Freeze for NanInfLocation
impl RefUnwindSafe for NanInfLocation
impl Send for NanInfLocation
impl Sync for NanInfLocation
impl Unpin for NanInfLocation
impl UnsafeUnpin for NanInfLocation
impl UnwindSafe for NanInfLocation
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