Enum rustfmt_nightly::config::options::__define_config_type_on_enum_TypeDensity::TypeDensity
source · [−]pub enum TypeDensity {
Compressed,
Wide,
}Variants
Compressed
No spaces around “=” and “+”
Wide
Spaces around “ = “ and “ + “
Trait Implementations
sourceimpl Clone for TypeDensity
impl Clone for TypeDensity
sourcefn clone(&self) -> TypeDensity
fn clone(&self) -> TypeDensity
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl ConfigType for TypeDensity
impl ConfigType for TypeDensity
sourceimpl Debug for TypeDensity
impl Debug for TypeDensity
sourceimpl<'de> Deserialize<'de> for TypeDensity
impl<'de> Deserialize<'de> for TypeDensity
sourcefn deserialize<D>(d: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for TypeDensity
impl Display for TypeDensity
sourceimpl FromStr for TypeDensity
impl FromStr for TypeDensity
sourceimpl PartialEq<TypeDensity> for TypeDensity
impl PartialEq<TypeDensity> for TypeDensity
sourceimpl Serialize for TypeDensity
impl Serialize for TypeDensity
impl Copy for TypeDensity
impl Eq for TypeDensity
impl StructuralEq for TypeDensity
impl StructuralPartialEq for TypeDensity
Auto Trait Implementations
impl RefUnwindSafe for TypeDensity
impl Send for TypeDensity
impl Sync for TypeDensity
impl Unpin for TypeDensity
impl UnwindSafe for TypeDensity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Compressed: 0 bytesWide: 0 bytes