pub struct ZeroTimesInfinity {
pub edge_or_node: NodeId,
pub impact: NumericImpact,
pub span: SrcSpan,
pub message: String,
pub library_cite: Option<String>,
}Expand description
Multiply that can evaluate 0 * ±inf (silent NaN) rather than a loud -inf loss.
Fields§
§edge_or_node: NodeId§impact: NumericImpact§span: SrcSpan§message: String§library_cite: Option<String>Trait Implementations§
Source§impl Clone for ZeroTimesInfinity
impl Clone for ZeroTimesInfinity
Source§fn clone(&self) -> ZeroTimesInfinity
fn clone(&self) -> ZeroTimesInfinity
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 ZeroTimesInfinity
impl Debug for ZeroTimesInfinity
Auto Trait Implementations§
impl Freeze for ZeroTimesInfinity
impl RefUnwindSafe for ZeroTimesInfinity
impl Send for ZeroTimesInfinity
impl Sync for ZeroTimesInfinity
impl Unpin for ZeroTimesInfinity
impl UnsafeUnpin for ZeroTimesInfinity
impl UnwindSafe for ZeroTimesInfinity
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