#[repr(i32)]pub enum Edition {
Show 13 variants
EDITION_UNKNOWN = 0,
EDITION_LEGACY = 900,
EDITION_PROTO2 = 998,
EDITION_PROTO3 = 999,
EDITION_2023 = 1_000,
EDITION_2024 = 1_001,
EDITION_UNSTABLE = 9_999,
EDITION_1_TEST_ONLY = 1,
EDITION_2_TEST_ONLY = 2,
EDITION_99997_TEST_ONLY = 99_997,
EDITION_99998_TEST_ONLY = 99_998,
EDITION_99999_TEST_ONLY = 99_999,
EDITION_MAX = 2_147_483_647,
}Variants§
EDITION_UNKNOWN = 0
EDITION_LEGACY = 900
EDITION_PROTO2 = 998
EDITION_PROTO3 = 999
EDITION_2023 = 1_000
EDITION_2024 = 1_001
EDITION_UNSTABLE = 9_999
EDITION_1_TEST_ONLY = 1
EDITION_2_TEST_ONLY = 2
EDITION_99997_TEST_ONLY = 99_997
EDITION_99998_TEST_ONLY = 99_998
EDITION_99999_TEST_ONLY = 99_999
EDITION_MAX = 2_147_483_647
Trait Implementations§
Source§impl Enumeration for Edition
impl Enumeration for Edition
impl Copy for Edition
impl Eq for Edition
impl StructuralPartialEq for Edition
Auto Trait Implementations§
impl Freeze for Edition
impl RefUnwindSafe for Edition
impl Send for Edition
impl Sync for Edition
impl Unpin for Edition
impl UnsafeUnpin for Edition
impl UnwindSafe for Edition
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more