Enum rustfmt_nightly::NewlineStyle [−][src]
pub enum NewlineStyle { Windows, Unix, Native, }
Variants
Windows
Unix
Native
Trait Implementations
impl Copy for NewlineStyle
[src]
impl Copy for NewlineStyle
impl Clone for NewlineStyle
[src]
impl Clone for NewlineStyle
fn clone(&self) -> NewlineStyle
[src]
fn clone(&self) -> NewlineStyle
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for NewlineStyle
[src]
impl Eq for NewlineStyle
impl PartialEq for NewlineStyle
[src]
impl PartialEq for NewlineStyle
fn eq(&self, other: &NewlineStyle) -> bool
[src]
fn eq(&self, other: &NewlineStyle) -> 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
1.0.0
[src]This method tests for !=
.
impl Debug for NewlineStyle
[src]
impl Debug for NewlineStyle
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Serialize for NewlineStyle
[src]
impl Serialize for NewlineStyle
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for NewlineStyle
[src]
impl<'de> Deserialize<'de> for NewlineStyle
fn deserialize<D>(d: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(d: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl FromStr for NewlineStyle
[src]
impl FromStr for NewlineStyle
Auto Trait Implementations
impl Send for NewlineStyle
impl Send for NewlineStyle
impl Sync for NewlineStyle
impl Sync for NewlineStyle