pub struct AttributionTriple {
pub cause: EditOpSignature,
pub effect: EffectSignature,
pub distance: i32,
pub weight: f64,
}Fields§
§cause: EditOpSignatureThe attributed edit operation.
effect: EffectSignatureThe observed effect emitted by a checker.
distance: i32Absolute line distance used during candidate scoring.
weight: f64Fractional contribution for this cause/effect pair. Weights are normalized per effect.
Trait Implementations§
Source§impl Clone for AttributionTriple
impl Clone for AttributionTriple
Source§fn clone(&self) -> AttributionTriple
fn clone(&self) -> AttributionTriple
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 AttributionTriple
impl Debug for AttributionTriple
Source§impl<'de> Deserialize<'de> for AttributionTriple
impl<'de> Deserialize<'de> for AttributionTriple
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AttributionTriple
impl PartialEq for AttributionTriple
Source§fn eq(&self, other: &AttributionTriple) -> bool
fn eq(&self, other: &AttributionTriple) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AttributionTriple
impl Serialize for AttributionTriple
impl StructuralPartialEq for AttributionTriple
Auto Trait Implementations§
impl Freeze for AttributionTriple
impl RefUnwindSafe for AttributionTriple
impl Send for AttributionTriple
impl Sync for AttributionTriple
impl Unpin for AttributionTriple
impl UnsafeUnpin for AttributionTriple
impl UnwindSafe for AttributionTriple
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