pub enum SyntaxEdition {
Julia113,
Julia114,
Julia115,
}Expand description
A Julia syntax edition supported by this parser. Editions are separate from the runtime versions a package supports.
Variants§
Implementations§
Source§impl SyntaxEdition
impl SyntaxEdition
pub const ALL: [Self; 3]
pub const OLDEST: Self = Self::Julia113
pub const LATEST: Self = Self::Julia115
Sourcepub const fn normalized(major: u32, minor: u32) -> Self
pub const fn normalized(major: u32, minor: u32) -> Self
Julia’s normalized_edition: select the newest supported edition no
greater than the version, clamping at either end of the edition table.
Trait Implementations§
Source§impl Clone for SyntaxEdition
impl Clone for SyntaxEdition
impl Copy for SyntaxEdition
Source§impl Debug for SyntaxEdition
impl Debug for SyntaxEdition
Source§impl Default for SyntaxEdition
impl Default for SyntaxEdition
Source§impl Display for SyntaxEdition
impl Display for SyntaxEdition
impl Eq for SyntaxEdition
Source§impl FromStr for SyntaxEdition
impl FromStr for SyntaxEdition
Source§impl Hash for SyntaxEdition
impl Hash for SyntaxEdition
Source§impl Ord for SyntaxEdition
impl Ord for SyntaxEdition
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SyntaxEdition
impl PartialEq for SyntaxEdition
Source§impl PartialOrd for SyntaxEdition
impl PartialOrd for SyntaxEdition
impl StructuralPartialEq for SyntaxEdition
Auto Trait Implementations§
impl Forget for SyntaxEdition
impl Freeze for SyntaxEdition
impl Move for SyntaxEdition
impl RefUnwindSafe for SyntaxEdition
impl Send for SyntaxEdition
impl Sync for SyntaxEdition
impl Unpin for SyntaxEdition
impl UnsafeUnpin for SyntaxEdition
impl UnwindSafe for SyntaxEdition
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