Struct gmime::FilterCharset [−]
pub struct FilterCharset(_, _);
Methods
impl FilterCharset[src]
impl FilterCharsetpub fn new(from_charset: &str, to_charset: &str) -> FilterCharset[src]
pub fn new(from_charset: &str, to_charset: &str) -> FilterCharsetCreates a new FilterCharset filter.
from_charset
charset to convert from
to_charset
charset to convert to
Returns
a new charset filter or None if the charset conversion is
not possible.
Trait Implementations
impl Clone for FilterCharset
impl Clone for FilterCharsetfn clone(&self) -> FilterCharset
fn clone(&self) -> FilterCharsetReturns 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 Debug for FilterCharset
impl Debug for FilterCharsetfn 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 FilterCharset
impl Hash for FilterCharsetfn 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, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl StaticType for FilterCharset
impl StaticType for FilterCharsetfn static_type() -> Type
fn static_type() -> TypeReturns the type identifier of Self.
impl<T: IsA<Object>> PartialEq<T> for FilterCharset
impl<T: IsA<Object>> PartialEq<T> for FilterCharsetfn 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) -> bool1.0.0
[src]This method tests for !=.
impl Eq for FilterCharset
impl Eq for FilterCharsetimpl IsA<Filter> for FilterCharset
impl IsA<Filter> for FilterCharsetimpl IsA<Object> for FilterCharset
impl IsA<Object> for FilterCharsetAuto Trait Implementations
impl !Send for FilterCharset
impl !Send for FilterCharsetimpl !Sync for FilterCharset
impl !Sync for FilterCharset