Enum rustfmt::config::TypeDensity
[−]
[src]
pub enum TypeDensity { Compressed, Wide, }
Variants
Compressed
Wide
Trait Implementations
impl Copy for TypeDensity
[src]
impl Clone for TypeDensity
[src]
fn clone(&self) -> TypeDensity
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for TypeDensity
[src]
impl PartialEq for TypeDensity
[src]
fn eq(&self, __arg_0: &TypeDensity) -> bool
[src]
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]
This method tests for !=
.
impl Debug for TypeDensity
[src]
impl Serialize for TypeDensity
[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for TypeDensity
[src]
fn deserialize<D>(d: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl FromStr for TypeDensity
[src]
type Err = &'static str
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
Parses a string s
to return a value of this type. Read more