#[repr(C)]pub enum JavaRuntime {
JAVA_ORACLE = 0,
OPENJDK = 1,
OPENJ9 = 2,
LIBERTY_JRE = 3,
}
Expand description
Java runtime mode for conversion.
Enumeration of values.
Since this enum’s variants do not hold data, we can easily define them them as #[repr(C)]
which helps with FFI.
Variants§
Trait Implementations§
Source§impl Clone for JavaRuntime
impl Clone for JavaRuntime
Source§fn clone(&self) -> JavaRuntime
fn clone(&self) -> JavaRuntime
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for JavaRuntime
impl Debug for JavaRuntime
Source§impl<'de> Deserialize<'de> for JavaRuntime
impl<'de> Deserialize<'de> for JavaRuntime
Source§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
Source§impl Display for JavaRuntime
impl Display for JavaRuntime
Source§impl FromStr for JavaRuntime
impl FromStr for JavaRuntime
Source§impl Ord for JavaRuntime
impl Ord for JavaRuntime
Source§fn cmp(&self, other: &JavaRuntime) -> Ordering
fn cmp(&self, other: &JavaRuntime) -> Ordering
1.21.0 · 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
Source§impl PartialEq for JavaRuntime
impl PartialEq for JavaRuntime
Source§impl PartialOrd for JavaRuntime
impl PartialOrd for JavaRuntime
Source§impl Serialize for JavaRuntime
impl Serialize for JavaRuntime
impl Copy for JavaRuntime
impl Eq for JavaRuntime
impl StructuralPartialEq for JavaRuntime
Auto Trait Implementations§
impl Freeze for JavaRuntime
impl RefUnwindSafe for JavaRuntime
impl Send for JavaRuntime
impl Sync for JavaRuntime
impl Unpin for JavaRuntime
impl UnwindSafe for JavaRuntime
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