pub struct BuildRef(/* private fields */);Expand description
Reference to a build statement
Trait Implementations§
Source§impl BuildVariables for BuildRef
impl BuildVariables for BuildRef
Source§fn with(self, inputs: impl IntoIterator<Item = impl ToArg>) -> Self
fn with(self, inputs: impl IntoIterator<Item = impl ToArg>) -> Self
Add explicit dependencies (inputs) Read more
Source§fn with_implicit(self, inputs: impl IntoIterator<Item = impl ToArg>) -> Self
fn with_implicit(self, inputs: impl IntoIterator<Item = impl ToArg>) -> Self
Add implicit dependencies Read more
Source§fn with_order_only(self, inputs: impl IntoIterator<Item = impl ToArg>) -> Self
fn with_order_only(self, inputs: impl IntoIterator<Item = impl ToArg>) -> Self
Add order-only dependencies Read more
Source§fn validations(self, validations: impl IntoIterator<Item = impl ToArg>) -> Self
fn validations(self, validations: impl IntoIterator<Item = impl ToArg>) -> Self
Add validations Read more
Source§fn output_implicit(self, outputs: impl IntoIterator<Item = impl ToArg>) -> Self
fn output_implicit(self, outputs: impl IntoIterator<Item = impl ToArg>) -> Self
Add validations Read more
Source§impl RuleVariables for BuildRef
impl RuleVariables for BuildRef
Source§fn deps_msvc_prefix(self, msvc_deps_prefix: impl ToArg) -> Self
fn deps_msvc_prefix(self, msvc_deps_prefix: impl ToArg) -> Self
Source§fn description(self, desc: impl ToArg) -> Self
fn description(self, desc: impl ToArg) -> Self
Set the description of the rule to be printed during the build Read more
Source§fn pool_console(self) -> Self
fn pool_console(self) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for BuildRef
impl !Send for BuildRef
impl !Sync for BuildRef
impl !UnwindSafe for BuildRef
impl Freeze for BuildRef
impl Unpin for BuildRef
impl UnsafeUnpin for BuildRef
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