Struct gmime::FilterWindows [−]
pub struct FilterWindows(_, _);
A filter for detecting whether or not a text stream claimed to be iso-8859-X is really that charset or if it is really a Windows-CP125x charset.
Implements
Methods
impl FilterWindows
[src]
impl FilterWindows
pub fn new(claimed_charset: &str) -> FilterWindows
[src]
pub fn new(claimed_charset: &str) -> FilterWindows
Creates a new GMimeFilterWindows filter. When a stream of text has
been filtered, it can be determined whether or not said text stream
was in claimed_charset
or the equivalent Windows-CP125# charset.
claimed_charset
charset that a text stream claims to be
Returns
a new windows filter.
Trait Implementations
impl Clone for FilterWindows
impl Clone for FilterWindows
fn clone(&self) -> FilterWindows
fn clone(&self) -> FilterWindows
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)
Performs copy-assignment from source
. Read more
impl Debug for FilterWindows
impl Debug for FilterWindows
fn fmt(&self, __arg_0: &mut Formatter) -> Result
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Hash for FilterWindows
impl Hash for FilterWindows
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl StaticType for FilterWindows
impl StaticType for FilterWindows
fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for FilterWindows
impl<T: IsA<Object>> PartialEq<T> for FilterWindows
fn eq(&self, other: &T) -> bool
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for FilterWindows
impl Eq for FilterWindows
impl IsA<Filter> for FilterWindows
impl IsA<Filter> for FilterWindows
impl IsA<Object> for FilterWindows
impl IsA<Object> for FilterWindows
Auto Trait Implementations
impl !Send for FilterWindows
impl !Send for FilterWindows
impl !Sync for FilterWindows
impl !Sync for FilterWindows