Enum rustfmt_nightly::config::lists::__define_config_type_on_enum_SeparatorTactic::SeparatorTactic
source · pub enum SeparatorTactic {
Always,
Never,
Vertical,
}Variants
Always
Never
Vertical
Implementations
sourceimpl SeparatorTactic
impl SeparatorTactic
pub fn from_bool(b: bool) -> SeparatorTactic
Trait Implementations
sourceimpl Clone for SeparatorTactic
impl Clone for SeparatorTactic
sourcefn clone(&self) -> SeparatorTactic
fn clone(&self) -> SeparatorTactic
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 moresourceimpl ConfigType for SeparatorTactic
impl ConfigType for SeparatorTactic
sourceimpl Debug for SeparatorTactic
impl Debug for SeparatorTactic
sourceimpl<'de> Deserialize<'de> for SeparatorTactic
impl<'de> Deserialize<'de> for SeparatorTactic
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 SeparatorTactic
impl Display for SeparatorTactic
sourceimpl FromStr for SeparatorTactic
impl FromStr for SeparatorTactic
sourceimpl PartialEq<SeparatorTactic> for SeparatorTactic
impl PartialEq<SeparatorTactic> for SeparatorTactic
sourcefn eq(&self, other: &SeparatorTactic) -> bool
fn eq(&self, other: &SeparatorTactic) -> bool
sourceimpl Serialize for SeparatorTactic
impl Serialize for SeparatorTactic
impl Copy for SeparatorTactic
impl Eq for SeparatorTactic
impl StructuralEq for SeparatorTactic
impl StructuralPartialEq for SeparatorTactic
Auto Trait Implementations
impl RefUnwindSafe for SeparatorTactic
impl Send for SeparatorTactic
impl Sync for SeparatorTactic
impl Unpin for SeparatorTactic
impl UnwindSafe for SeparatorTactic
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> DeserializeOwned for Twhere
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:
Always: 0 bytesNever: 0 bytesVertical: 0 bytes