#[non_exhaustive]#[repr(u32)]pub enum RuntimeIdentifier {
Rust = 0,
Java = 1,
}Expand description
List of predefined runtimes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for RuntimeIdentifier
impl Clone for RuntimeIdentifier
Source§fn clone(&self) -> RuntimeIdentifier
fn clone(&self) -> RuntimeIdentifier
Returns a copy 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 RuntimeIdentifier
impl Debug for RuntimeIdentifier
Source§impl Display for RuntimeIdentifier
impl Display for RuntimeIdentifier
Source§impl From<RuntimeIdentifier> for u32
impl From<RuntimeIdentifier> for u32
Source§fn from(id: RuntimeIdentifier) -> Self
fn from(id: RuntimeIdentifier) -> Self
Converts to this type from the input type.
Source§impl Hash for RuntimeIdentifier
impl Hash for RuntimeIdentifier
Source§impl PartialEq for RuntimeIdentifier
impl PartialEq for RuntimeIdentifier
impl Eq for RuntimeIdentifier
impl StructuralPartialEq for RuntimeIdentifier
Auto Trait Implementations§
impl Freeze for RuntimeIdentifier
impl RefUnwindSafe for RuntimeIdentifier
impl Send for RuntimeIdentifier
impl Sync for RuntimeIdentifier
impl Unpin for RuntimeIdentifier
impl UnwindSafe for RuntimeIdentifier
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