pub struct PartialWeights {
pub tiers: Option<Vec<TierWeights>>,
pub duplication: Option<f64>,
pub key_distribution: Option<f64>,
pub pair_equivalence: Option<f64>,
pub extended_pair_equivalence: Option<f64>,
pub fingering: Option<FingeringWeights>,
pub levels: Option<Vec<LevelWeights>>,
}Fields§
§tiers: Option<Vec<TierWeights>>§duplication: Option<f64>§key_distribution: Option<f64>§pair_equivalence: Option<f64>§extended_pair_equivalence: Option<f64>§fingering: Option<FingeringWeights>§levels: Option<Vec<LevelWeights>>Trait Implementations§
Source§impl Clone for PartialWeights
impl Clone for PartialWeights
Source§fn clone(&self) -> PartialWeights
fn clone(&self) -> PartialWeights
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 PartialWeights
impl Debug for PartialWeights
Source§impl<'de> Deserialize<'de> for PartialWeights
impl<'de> Deserialize<'de> for PartialWeights
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 PartialWeights
impl RefUnwindSafe for PartialWeights
impl Send for PartialWeights
impl Sync for PartialWeights
impl Unpin for PartialWeights
impl UnwindSafe for PartialWeights
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