pub enum BuildStepKind {
Show 18 variants
Fetch,
PreUnpack,
Unpack,
PostUnpack,
Patch,
PreConfigure,
Configure,
PostConfigure,
PreBuild,
Build,
PostBuild,
PreCheck,
Check,
PostCheck,
PreInstall,
Install,
PostInstall,
Custom {
name: String,
},
}Expand description
Typed enum of standard build phases. Adapters / renderers don’t invent new variants; they pick from this list. Pre/PostX hooks are the only place adapter-specific logic surfaces.
Variants§
Fetch
PreUnpack
Unpack
PostUnpack
Patch
PreConfigure
Configure
PostConfigure
PreBuild
Build
PostBuild
PreCheck
Check
PostCheck
PreInstall
Install
PostInstall
Custom
Custom adapter-defined phase. Engine treats it as opaque +
runs it at the position the adapter requested. Name is the
adapter’s chosen label (e.g. "strip", "sign",
"cargo:rustc-link-lib").
Trait Implementations§
Source§impl Clone for BuildStepKind
impl Clone for BuildStepKind
Source§fn clone(&self) -> BuildStepKind
fn clone(&self) -> BuildStepKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BuildStepKind
impl Debug for BuildStepKind
Source§impl<'de> Deserialize<'de> for BuildStepKind
impl<'de> Deserialize<'de> for BuildStepKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BuildStepKind
impl PartialEq for BuildStepKind
Source§fn eq(&self, other: &BuildStepKind) -> bool
fn eq(&self, other: &BuildStepKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BuildStepKind
impl Serialize for BuildStepKind
impl Eq for BuildStepKind
impl StructuralPartialEq for BuildStepKind
Auto Trait Implementations§
impl Freeze for BuildStepKind
impl RefUnwindSafe for BuildStepKind
impl Send for BuildStepKind
impl Sync for BuildStepKind
impl Unpin for BuildStepKind
impl UnsafeUnpin for BuildStepKind
impl UnwindSafe for BuildStepKind
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.