Struct gmime::FilterDos2Unix [−]
pub struct FilterDos2Unix(_, _);
A filter to convert a stream from Windows/DOS line endings to Unix line endings.
Implements
Methods
impl FilterDos2Unix[src]
impl FilterDos2Unixpub fn new(ensure_newline: bool) -> FilterDos2Unix[src]
pub fn new(ensure_newline: bool) -> FilterDos2UnixCreates a new FilterDos2Unix filter.
ensure_newline
true if the filter should ensure that the stream ends in a new line
Returns
a new FilterDos2Unix filter.
Trait Implementations
impl Clone for FilterDos2Unix
impl Clone for FilterDos2Unixfn clone(&self) -> FilterDos2Unix
fn clone(&self) -> FilterDos2UnixReturns 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 FilterDos2Unix
impl Debug for FilterDos2Unixfn 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 FilterDos2Unix
impl Hash for FilterDos2Unixfn 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 FilterDos2Unix
impl StaticType for FilterDos2Unixfn static_type() -> Type
fn static_type() -> TypeReturns the type identifier of Self.
impl<T: IsA<Object>> PartialEq<T> for FilterDos2Unix
impl<T: IsA<Object>> PartialEq<T> for FilterDos2Unixfn 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 FilterDos2Unix
impl Eq for FilterDos2Uniximpl IsA<Filter> for FilterDos2Unix
impl IsA<Filter> for FilterDos2Uniximpl IsA<Object> for FilterDos2Unix
impl IsA<Object> for FilterDos2UnixAuto Trait Implementations
impl !Send for FilterDos2Unix
impl !Send for FilterDos2Uniximpl !Sync for FilterDos2Unix
impl !Sync for FilterDos2Unix