pub struct JvmConfig {
pub package: String,
pub class_version: u16,
pub emit_line_numbers: bool,
pub sealed_adt: bool,
}Expand description
Configuration for the JVM backend.
Fields§
§package: StringPackage prefix (e.g. "com.example").
class_version: u16Java class-file major version (default 65 = Java 21).
emit_line_numbers: boolEmit debug line-number tables.
sealed_adt: boolWhether to generate sealed-interface hierarchies for ADT types.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JvmConfig
impl RefUnwindSafe for JvmConfig
impl Send for JvmConfig
impl Sync for JvmConfig
impl Unpin for JvmConfig
impl UnsafeUnpin for JvmConfig
impl UnwindSafe for JvmConfig
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