pub struct StabilityFactor {
pub name: String,
pub value: f32,
pub description: String,
}Expand description
Stability factor for a code unit.
Fields§
§name: StringFactor name.
value: f32Value (0.0–1.0, higher = better).
description: StringExplanation.
Trait Implementations§
Source§impl Clone for StabilityFactor
impl Clone for StabilityFactor
Source§fn clone(&self) -> StabilityFactor
fn clone(&self) -> StabilityFactor
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 moreAuto Trait Implementations§
impl Freeze for StabilityFactor
impl RefUnwindSafe for StabilityFactor
impl Send for StabilityFactor
impl Sync for StabilityFactor
impl Unpin for StabilityFactor
impl UnsafeUnpin for StabilityFactor
impl UnwindSafe for StabilityFactor
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