Enum rustfmt_nightly::config::lists::__define_config_type_on_enum_SeparatorPlace::SeparatorPlace
source · [−]pub enum SeparatorPlace {
Front,
Back,
}Variants
Front
Back
Implementations
sourceimpl SeparatorPlace
impl SeparatorPlace
pub fn is_front(self) -> bool
pub fn is_back(self) -> bool
pub fn from_tactic(
default: SeparatorPlace,
tactic: DefinitiveListTactic,
sep: &str
) -> SeparatorPlace
Trait Implementations
sourceimpl Clone for SeparatorPlace
impl Clone for SeparatorPlace
sourcefn clone(&self) -> SeparatorPlace
fn clone(&self) -> SeparatorPlace
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 SeparatorPlace
impl ConfigType for SeparatorPlace
sourceimpl Debug for SeparatorPlace
impl Debug for SeparatorPlace
sourceimpl<'de> Deserialize<'de> for SeparatorPlace
impl<'de> Deserialize<'de> for SeparatorPlace
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 SeparatorPlace
impl Display for SeparatorPlace
sourceimpl FromStr for SeparatorPlace
impl FromStr for SeparatorPlace
sourceimpl PartialEq<SeparatorPlace> for SeparatorPlace
impl PartialEq<SeparatorPlace> for SeparatorPlace
sourceimpl Serialize for SeparatorPlace
impl Serialize for SeparatorPlace
impl Copy for SeparatorPlace
impl Eq for SeparatorPlace
impl StructuralEq for SeparatorPlace
impl StructuralPartialEq for SeparatorPlace
Auto Trait Implementations
impl RefUnwindSafe for SeparatorPlace
impl Send for SeparatorPlace
impl Sync for SeparatorPlace
impl Unpin for SeparatorPlace
impl UnwindSafe for SeparatorPlace
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:
Front: 0 bytesBack: 0 bytes