pub struct PlatformConfig {
pub target: CompilationTarget,
pub description: Option<String>,
pub supported_architectures: Vec<String>,
pub default_extension: String,
pub parameters: HashMap<String, String>,
}Expand description
平台配置
包含特定平台的配置信息
Fields§
§target: CompilationTarget编译目标
description: Option<String>平台描述
supported_architectures: Vec<String>支持的架构
default_extension: String默认文件扩展名
parameters: HashMap<String, String>平台特定参数
Trait Implementations§
Source§impl Clone for PlatformConfig
impl Clone for PlatformConfig
Source§fn clone(&self) -> PlatformConfig
fn clone(&self) -> PlatformConfig
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 PlatformConfig
impl Debug for PlatformConfig
Source§impl<'de> Deserialize<'de> for PlatformConfig
impl<'de> Deserialize<'de> for PlatformConfig
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 PlatformConfig
impl RefUnwindSafe for PlatformConfig
impl Send for PlatformConfig
impl Sync for PlatformConfig
impl Unpin for PlatformConfig
impl UnwindSafe for PlatformConfig
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