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]

Trait Implementations

impl Debug for Attribute
[src]

Formats the value using the given formatter. Read more

impl Clone for Attribute
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Attribute
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<String> for Attribute
[src]

Performs the conversion.

impl<'a> From<&'a str> for Attribute
[src]

Performs the conversion.

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

Performs the conversion.

Auto Trait Implementations

impl Send for Attribute

impl Sync for Attribute