pub struct RustTest {Show 14 fields
name: Field<QuotedString>,
version: Field<QuotedString>,
kind: RustTestKind,
features: Field<List<QuotedString>>,
aliases: Field<CratesUniverseMacro<Aliases_>>,
lint_config: Field<QuotedString>,
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_>>
§lint_config: Field<QuotedString>
§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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more