pub struct FeatureContribution {
pub id: FeatureId,
pub delta: f32,
}Expand description
One named contribution to Confidence::recognition.
Fields§
§id: FeatureIdWhich feature.
delta: f32Signed delta added to the log-posterior by this feature.
Trait Implementations§
Source§impl Clone for FeatureContribution
impl Clone for FeatureContribution
Source§fn clone(&self) -> FeatureContribution
fn clone(&self) -> FeatureContribution
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 FeatureContribution
impl Debug for FeatureContribution
Source§impl PartialEq for FeatureContribution
impl PartialEq for FeatureContribution
impl Copy for FeatureContribution
impl StructuralPartialEq for FeatureContribution
Auto Trait Implementations§
impl Freeze for FeatureContribution
impl RefUnwindSafe for FeatureContribution
impl Send for FeatureContribution
impl Sync for FeatureContribution
impl Unpin for FeatureContribution
impl UnsafeUnpin for FeatureContribution
impl UnwindSafe for FeatureContribution
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