pub struct CompilerConfig {
pub optimization_level: u8,
pub include_debug_info: bool,
pub generate_source_maps: bool,
pub target_arch: String,
}Expand description
コンパイラ設定
Fields§
§optimization_level: u8最適化レベル
include_debug_info: boolデバッグ情報
generate_source_maps: boolソースマップ生成
target_arch: Stringターゲットアーキテクチャ
Trait Implementations§
Source§impl Clone for CompilerConfig
impl Clone for CompilerConfig
Source§fn clone(&self) -> CompilerConfig
fn clone(&self) -> CompilerConfig
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 CompilerConfig
impl Debug for CompilerConfig
Source§impl Default for CompilerConfig
impl Default for CompilerConfig
Source§impl<'de> Deserialize<'de> for CompilerConfig
impl<'de> Deserialize<'de> for CompilerConfig
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 CompilerConfig
impl RefUnwindSafe for CompilerConfig
impl Send for CompilerConfig
impl Sync for CompilerConfig
impl Unpin for CompilerConfig
impl UnwindSafe for CompilerConfig
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