pub enum CompilerTarget {
Version(String),
MetaInternal {
kind: String,
runtime_module: String,
},
}Expand description
Target configuration for the compiler
Variants§
Version(String)
Standard React version target
MetaInternal
Meta-internal target with custom runtime module
Trait Implementations§
Source§impl Clone for CompilerTarget
impl Clone for CompilerTarget
Source§fn clone(&self) -> CompilerTarget
fn clone(&self) -> CompilerTarget
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 CompilerTarget
impl Debug for CompilerTarget
Source§impl<'de> Deserialize<'de> for CompilerTarget
impl<'de> Deserialize<'de> for CompilerTarget
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
Auto Trait Implementations§
impl Freeze for CompilerTarget
impl RefUnwindSafe for CompilerTarget
impl Send for CompilerTarget
impl Sync for CompilerTarget
impl Unpin for CompilerTarget
impl UnsafeUnpin for CompilerTarget
impl UnwindSafe for CompilerTarget
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