pub struct NumericDomainViolation {
pub edge_or_node: NodeId,
pub op: String,
pub requires: String,
pub producer_domain: String,
pub proven: bool,
pub impact: NumericImpact,
pub span: SrcSpan,
pub message: String,
pub library_cite: Option<String>,
}Expand description
A partial function applied to a domain that can attain a forbidden endpoint.
Fields§
§edge_or_node: NodeId§op: String§requires: String§producer_domain: String§proven: bool§impact: NumericImpact§span: SrcSpan§message: String§library_cite: Option<String>Source citation when the hazard came from an expanded library body.
Trait Implementations§
Source§impl Clone for NumericDomainViolation
impl Clone for NumericDomainViolation
Source§fn clone(&self) -> NumericDomainViolation
fn clone(&self) -> NumericDomainViolation
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 NumericDomainViolation
impl Debug for NumericDomainViolation
Auto Trait Implementations§
impl Freeze for NumericDomainViolation
impl RefUnwindSafe for NumericDomainViolation
impl Send for NumericDomainViolation
impl Sync for NumericDomainViolation
impl Unpin for NumericDomainViolation
impl UnsafeUnpin for NumericDomainViolation
impl UnwindSafe for NumericDomainViolation
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