pub struct OperatorWeights {
pub correctness: f64,
pub novelty: f64,
pub stability: f64,
}Fields§
§correctness: f64§novelty: f64§stability: f64Trait Implementations§
Source§impl Clone for OperatorWeights
impl Clone for OperatorWeights
Source§fn clone(&self) -> OperatorWeights
fn clone(&self) -> OperatorWeights
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 OperatorWeights
impl Debug for OperatorWeights
Source§impl<'de> Deserialize<'de> for OperatorWeights
impl<'de> Deserialize<'de> for OperatorWeights
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
Auto Trait Implementations§
impl Freeze for OperatorWeights
impl RefUnwindSafe for OperatorWeights
impl Send for OperatorWeights
impl Sync for OperatorWeights
impl Unpin for OperatorWeights
impl UnsafeUnpin for OperatorWeights
impl UnwindSafe for OperatorWeights
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