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