pub(crate) struct TargetAndStage {
pub(crate) target: TargetSelection,
pub(crate) stage: u32,
}
Expand description
An alternative way of specifying what target and stage is involved in some bootstrap activity.
Ideally using a Compiler
directly should be preferred.
Fields§
§target: TargetSelection
§stage: u32
Trait Implementations§
Source§impl From<(TargetSelection, u32)> for TargetAndStage
impl From<(TargetSelection, u32)> for TargetAndStage
Source§fn from((target, stage): (TargetSelection, u32)) -> Self
fn from((target, stage): (TargetSelection, u32)) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TargetAndStage
impl RefUnwindSafe for TargetAndStage
impl Send for TargetAndStage
impl Sync for TargetAndStage
impl Unpin for TargetAndStage
impl UnwindSafe for TargetAndStage
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: 40 bytes