Struct whatlang::Options
[−]
[src]
pub struct Options { /* fields omitted */ }
Allows to customize behaviour of Detector.
Methods
impl Options
[src]
fn new() -> Self
fn set_whitelist(self, whitelist: Vec<Lang>) -> Self
fn set_blacklist(self, blacklist: Vec<Lang>) -> Self
Trait Implementations
impl Debug for Options
[src]
impl Clone for Options
[src]
fn clone(&self) -> Options
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
impl PartialEq for Options
[src]
fn eq(&self, __arg_0: &Options) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Options) -> bool
This method tests for !=
.