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