pub struct RustTest {Show 13 fields
name: Field<QuotedString>,
version: Field<QuotedString>,
kind: RustTestKind,
features: Field<List<QuotedString>>,
aliases: Field<CratesUniverseMacro<Aliases_>>,
deps: Field<List<QuotedString>>,
proc_macro_deps: Field<List<QuotedString>>,
size: Field<RustTestSize>,
data: Field<List<QuotedString>>,
compile_data: Field<List<QuotedString>>,
env: Field<Dict<QuotedString, QuotedString>>,
rustc_flags: Field<List<QuotedString>>,
rustc_env: Field<Dict<QuotedString, QuotedString>>,
}
Expand description
Fields§
§name: Field<QuotedString>
§version: Field<QuotedString>
§kind: RustTestKind
§features: Field<List<QuotedString>>
§aliases: Field<CratesUniverseMacro<Aliases_>>
§deps: Field<List<QuotedString>>
§proc_macro_deps: Field<List<QuotedString>>
§size: Field<RustTestSize>
§data: Field<List<QuotedString>>
§compile_data: Field<List<QuotedString>>
§env: Field<Dict<QuotedString, QuotedString>>
§rustc_flags: Field<List<QuotedString>>
§rustc_env: Field<Dict<QuotedString, QuotedString>>
Implementations§
Source§impl RustTest
impl RustTest
fn common( config: &GlobalConfig, metadata: &PackageMetadata<'_>, crate_config: &CrateConfig, crate_features: List<QuotedString>, name: &str, kind: RustTestKind, size: RustTestSize, ) -> Result<Option<Self>, Error>
pub fn library( config: &GlobalConfig, metadata: &PackageMetadata<'_>, crate_config: &CrateConfig, crate_features: List<QuotedString>, ) -> Result<Option<Self>, Error>
pub fn integration( config: &GlobalConfig, metadata: &PackageMetadata<'_>, crate_config: &CrateConfig, target: &BuildTarget<'_>, ) -> Result<Option<Self>, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RustTest
impl !RefUnwindSafe for RustTest
impl !Send for RustTest
impl !Sync for RustTest
impl Unpin for RustTest
impl !UnwindSafe for RustTest
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