pub struct CargoConfigKey {Show 17 fields
pub all_targets: bool,
pub features: String,
pub target: Option<String>,
pub sysroot: Option<String>,
pub sysroot_src: Option<String>,
pub rustc_source: Option<String>,
pub extra_includes: Vec<String>,
pub cfg_overrides: String,
pub wrap_rustc_in_build_scripts: bool,
pub invocation_strategy: String,
pub run_build_script_command: String,
pub extra_args: Vec<String>,
pub extra_env: Vec<(String, Option<String>)>,
pub target_dir_config: String,
pub set_test: bool,
pub no_deps: bool,
pub metadata_extra_args: Vec<String>,
}Fields§
§all_targets: bool§features: String§target: Option<String>§sysroot: Option<String>§sysroot_src: Option<String>§rustc_source: Option<String>§extra_includes: Vec<String>§cfg_overrides: String§wrap_rustc_in_build_scripts: bool§invocation_strategy: String§run_build_script_command: String§extra_args: Vec<String>§extra_env: Vec<(String, Option<String>)>§target_dir_config: String§set_test: bool§no_deps: bool§metadata_extra_args: Vec<String>Trait Implementations§
Source§impl Clone for CargoConfigKey
impl Clone for CargoConfigKey
Source§fn clone(&self) -> CargoConfigKey
fn clone(&self) -> CargoConfigKey
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 CargoConfigKey
impl Debug for CargoConfigKey
Source§impl<'de> Deserialize<'de> for CargoConfigKey
impl<'de> Deserialize<'de> for CargoConfigKey
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
impl Eq for CargoConfigKey
Source§impl Ord for CargoConfigKey
impl Ord for CargoConfigKey
Source§fn cmp(&self, other: &CargoConfigKey) -> Ordering
fn cmp(&self, other: &CargoConfigKey) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CargoConfigKey
impl PartialEq for CargoConfigKey
Source§fn eq(&self, other: &CargoConfigKey) -> bool
fn eq(&self, other: &CargoConfigKey) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CargoConfigKey
impl PartialOrd for CargoConfigKey
Source§impl Serialize for CargoConfigKey
impl Serialize for CargoConfigKey
impl StructuralPartialEq for CargoConfigKey
Auto Trait Implementations§
impl Freeze for CargoConfigKey
impl RefUnwindSafe for CargoConfigKey
impl Send for CargoConfigKey
impl Sync for CargoConfigKey
impl Unpin for CargoConfigKey
impl UnsafeUnpin for CargoConfigKey
impl UnwindSafe for CargoConfigKey
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