pub struct DiagnosticImplication {
pub antecedent: String,
pub consequent: String,
}Expand description
An implication between two conditions: whenever the antecedent holds, the consequent also holds.
Fields§
§antecedent: String§consequent: StringTrait Implementations§
Source§impl Clone for DiagnosticImplication
impl Clone for DiagnosticImplication
Source§fn clone(&self) -> DiagnosticImplication
fn clone(&self) -> DiagnosticImplication
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 DiagnosticImplication
impl Debug for DiagnosticImplication
Auto Trait Implementations§
impl Freeze for DiagnosticImplication
impl RefUnwindSafe for DiagnosticImplication
impl Send for DiagnosticImplication
impl Sync for DiagnosticImplication
impl Unpin for DiagnosticImplication
impl UnsafeUnpin for DiagnosticImplication
impl UnwindSafe for DiagnosticImplication
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