Enum rustfmt_nightly::Edition
source · pub enum Edition {
Edition2015,
Edition2018,
Edition2021,
Edition2024,
}
Variants
Edition2015
Edition 2015.
Edition2018
Edition 2018.
Edition2021
Edition 2021.
Edition2024
Edition 2024.
Trait Implementations
sourceimpl ConfigType for Edition
impl ConfigType for Edition
sourceimpl<'de> Deserialize<'de> for Edition
impl<'de> Deserialize<'de> for Edition
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 PartialOrd<Edition> for Edition
impl PartialOrd<Edition> for Edition
sourcefn partial_cmp(&self, other: &Edition) -> Option<Ordering>
fn partial_cmp(&self, other: &Edition) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Edition
impl Eq for Edition
impl StructuralEq for Edition
impl StructuralPartialEq for Edition
Auto Trait Implementations
impl RefUnwindSafe for Edition
impl Send for Edition
impl Sync for Edition
impl Unpin for Edition
impl UnwindSafe for Edition
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
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:
Edition2015
: 0 bytesEdition2018
: 0 bytesEdition2021
: 0 bytesEdition2024
: 0 bytes