Struct cargo_gazelle::targets::RustBinary
source · pub struct RustBinary {
name: Field<QuotedString>,
version: Field<QuotedString>,
crate_root: Field<QuotedString>,
features: Field<List<QuotedString>>,
aliases: Field<CratesUniverseMacro<Aliases_>>,
deps: Field<List<QuotedString>>,
proc_macro_deps: Field<List<QuotedString>>,
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>
§crate_root: Field<QuotedString>
§features: Field<List<QuotedString>>
§aliases: Field<CratesUniverseMacro<Aliases_>>
§deps: Field<List<QuotedString>>
§proc_macro_deps: Field<List<QuotedString>>
§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 RustBinary
impl RustBinary
pub fn generate( config: &GlobalConfig, metadata: &PackageMetadata<'_>, crate_config: &CrateConfig, target: &BuildTarget<'_>, ) -> Result<Option<Self>, Error>
Trait Implementations§
source§impl Debug for RustBinary
impl Debug for RustBinary
source§impl RustTarget for RustBinary
impl RustTarget for RustBinary
source§impl ToBazelDefinition for RustBinary
impl ToBazelDefinition for RustBinary
Auto Trait Implementations§
impl Freeze for RustBinary
impl !RefUnwindSafe for RustBinary
impl !Send for RustBinary
impl !Sync for RustBinary
impl Unpin for RustBinary
impl !UnwindSafe for RustBinary
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