Struct whatlang::Info
[−]
[src]
pub struct Info { /* fields omitted */ }
Represents a full outcome of language detection.
Methods
impl Info
[src]
fn lang(&self) -> Lang
fn script(&self) -> Script
fn is_reliable(&self) -> bool
fn confidence(&self) -> f64
Trait Implementations
impl PartialEq for Info
[src]
fn eq(&self, __arg_0: &Info) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Info) -> bool
This method tests for !=
.
impl Debug for Info
[src]
impl Clone for Info
[src]
fn clone(&self) -> Info
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more