Enum rustfmt_nightly::config::Density
[−]
[src]
pub enum Density {
Compressed,
Tall,
CompressedIfEmpty,
Vertical,
}Variants
CompressedTallCompressedIfEmptyVerticalMethods
impl Density[src]
fn to_list_tactic(self) -> ListTactic
Trait Implementations
impl Copy for Density[src]
impl Clone for Density[src]
fn clone(&self) -> Density
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Eq for Density[src]
impl PartialEq for Density[src]
fn eq(&self, __arg_0: &Density) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Debug for Density[src]
impl Serialize for Density[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for Density[src]
fn deserialize<D>(d: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl FromStr for Density[src]
type Err = &'static str
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
Parses a string s to return a value of this type. Read more