Struct crfsuite::Attribute [−][src]
Tuple of attribute and its value.
Fields
name: String
Attribute name
value: f64
Attribute value
Methods
impl Attribute
[src]
impl Attribute
Trait Implementations
impl Debug for Attribute
[src]
impl Debug for Attribute
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Attribute
[src]
impl Clone for Attribute
fn clone(&self) -> Attribute
[src]
fn clone(&self) -> Attribute
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Attribute
[src]
impl PartialEq for Attribute
fn eq(&self, other: &Attribute) -> bool
[src]
fn eq(&self, other: &Attribute) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Attribute) -> bool
[src]
fn ne(&self, other: &Attribute) -> bool
This method tests for !=
.
impl From<String> for Attribute
[src]
impl From<String> for Attribute
impl<'a> From<&'a str> for Attribute
[src]
impl<'a> From<&'a str> for Attribute
impl<T: Into<String>> From<(T, f64)> for Attribute
[src]
impl<T: Into<String>> From<(T, f64)> for Attribute