Struct analiticcl::types::Weights[][src]

pub struct Weights {
    pub ld: f64,
    pub lcs: f64,
    pub freq: f64,
    pub prefix: f64,
    pub suffix: f64,
    pub lex: f64,
    pub case: f64,
}

Fields

ld: f64lcs: f64freq: f64prefix: f64suffix: f64lex: f64case: f64

Implementations

impl Weights[src]

pub fn sum(&self) -> f64[src]

Trait Implementations

impl Default for Weights[src]

Auto Trait Implementations

impl RefUnwindSafe for Weights

impl Send for Weights

impl Sync for Weights

impl Unpin for Weights

impl UnwindSafe for Weights

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.