pub struct StepMetadata {
name: &'static str,
kind: Kind,
target: TargetSelection,
built_by: Option<Compiler>,
stage: Option<u32>,
}
Expand description
Metadata that describes an executed step, mostly for testing and tracing.
Fields§
§name: &'static str
§kind: Kind
§target: TargetSelection
§built_by: Option<Compiler>
§stage: Option<u32>
Implementations§
Source§impl StepMetadata
impl StepMetadata
pub fn build(name: &'static str, target: TargetSelection) -> Self
pub fn doc(name: &'static str, target: TargetSelection) -> Self
pub fn dist(name: &'static str, target: TargetSelection) -> Self
pub fn test(name: &'static str, target: TargetSelection) -> Self
fn new(name: &'static str, target: TargetSelection, kind: Kind) -> Self
pub fn built_by(self, compiler: Compiler) -> Self
pub fn stage(self, stage: u32) -> Self
Trait Implementations§
Source§impl Debug for StepMetadata
impl Debug for StepMetadata
Source§impl PartialEq for StepMetadata
impl PartialEq for StepMetadata
impl Eq for StepMetadata
impl StructuralPartialEq for StepMetadata
Auto Trait Implementations§
impl Freeze for StepMetadata
impl RefUnwindSafe for StepMetadata
impl Send for StepMetadata
impl Sync for StepMetadata
impl Unpin for StepMetadata
impl UnwindSafe for StepMetadata
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
§impl<T> Pointable for T
impl<T> Pointable for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 104 bytes