pub enum KotlinTarget {
Jvm,
Native,
Multiplatform,
}Expand description
Target platform for Kotlin code generation.
"jvm"(default): emits source consuming the Java/Panama FFM facade."native": emits Kotlin/Native source consuming the cbindgen C FFI library."multiplatform": reserved for the KMP stage (Phase 3 follow-up).
Variants§
Trait Implementations§
Source§impl Clone for KotlinTarget
impl Clone for KotlinTarget
Source§fn clone(&self) -> KotlinTarget
fn clone(&self) -> KotlinTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 KotlinTarget
impl Debug for KotlinTarget
Source§impl Default for KotlinTarget
impl Default for KotlinTarget
Source§fn default() -> KotlinTarget
fn default() -> KotlinTarget
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KotlinTarget
impl<'de> Deserialize<'de> for KotlinTarget
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 PartialEq for KotlinTarget
impl PartialEq for KotlinTarget
Source§fn eq(&self, other: &KotlinTarget) -> bool
fn eq(&self, other: &KotlinTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for KotlinTarget
impl Serialize for KotlinTarget
impl Copy for KotlinTarget
impl Eq for KotlinTarget
impl StructuralPartialEq for KotlinTarget
Auto Trait Implementations§
impl Freeze for KotlinTarget
impl RefUnwindSafe for KotlinTarget
impl Send for KotlinTarget
impl Sync for KotlinTarget
impl Unpin for KotlinTarget
impl UnsafeUnpin for KotlinTarget
impl UnwindSafe for KotlinTarget
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