Struct crfsuite::Attribute [] [src]

pub struct Attribute {
    pub name: String,
    pub value: f64,
}

Tuple of attribute and its value.

Fields

Attribute name

Attribute value

Methods

impl Attribute
[src]

[src]

Trait Implementations

impl Debug for Attribute
[src]

[src]

Formats the value using the given formatter.

impl Clone for Attribute
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Into<String>> From<(T, f64)> for Attribute
[src]

[src]

Performs the conversion.