Enum mdbook::config::RustEdition [−][src]
pub enum RustEdition {
E2021,
E2018,
E2015,
}
Expand description
Rust edition to use for the code.
Variants
E2021
The 2021 edition of Rust
E2018
The 2018 edition of Rust
E2015
The 2015 edition of Rust
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for RustEdition
impl Send for RustEdition
impl Sync for RustEdition
impl Unpin for RustEdition
impl UnwindSafe for RustEdition
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self