Struct JavaVersions

Source
pub struct JavaVersions;

Implementations§

Source§

impl JavaVersions

Source

pub const V1_1: u32 = 196_653u32

Source

pub const V1_2: u32 = 46u32

Source

pub const V1_3: u32 = 47u32

Source

pub const V1_4: u32 = 48u32

Source

pub const V1_5: u32 = 49u32

Source

pub const V1_6: u32 = 50u32

Source

pub const V1_7: u32 = 51u32

Source

pub const V1_8: u32 = 52u32

Source

pub const V9: u32 = 53u32

Source

pub const V10: u32 = 54u32

Source

pub const V11: u32 = 55u32

Source

pub const V12: u32 = 56u32

Source

pub const V13: u32 = 57u32

Source

pub const V14: u32 = 58u32

Source

pub const V15: u32 = 59u32

Source

pub const V16: u32 = 60u32

Source

pub const V17: u32 = 61u32

Source

pub const V18: u32 = 62u32

Source

pub const V19: u32 = 63u32

Source

pub const V20: u32 = 64u32

Source

pub const V21: u32 = 65u32

Source

pub const V22: u32 = 66u32

Source

pub const V23: u32 = 67u32

Source

pub const V_PREVIEW: u32 = 4_294_901_760u32

  • Version flag indicating that the class is using ‘preview’ features.
  • {@code version & V_PREVIEW == V_PREVIEW} tests if a version is flagged with {@code

  • V_PREVIEW}.

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.