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 FilterWindowspub fn new(claimed_charset: &str) -> FilterWindows[src]
pub fn new(claimed_charset: &str) -> FilterWindowsCreates 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 FilterWindowsfn clone(&self) -> FilterWindows
fn clone(&self) -> FilterWindowsReturns 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 FilterWindowsfn fmt(&self, __arg_0: &mut Formatter) -> Result
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Hash for FilterWindows
impl Hash for FilterWindowsfn 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 FilterWindowsfn static_type() -> Type
fn static_type() -> TypeReturns the type identifier of Self.
impl<T: IsA<Object>> PartialEq<T> for FilterWindows
impl<T: IsA<Object>> PartialEq<T> for FilterWindowsfn eq(&self, other: &T) -> bool
fn eq(&self, other: &T) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Eq for FilterWindows
impl Eq for FilterWindowsimpl IsA<Filter> for FilterWindows
impl IsA<Filter> for FilterWindowsimpl IsA<Object> for FilterWindows
impl IsA<Object> for FilterWindowsAuto Trait Implementations
impl !Send for FilterWindows
impl !Send for FilterWindowsimpl !Sync for FilterWindows
impl !Sync for FilterWindows