pub(crate) struct HostAndStage {
pub(crate) host: TargetSelection,
pub(crate) stage: u32,
}
Expand description
A mostly temporary helper struct before we can migrate everything in bootstrap to use the concept of a build compiler.
Fields§
§host: TargetSelection
§stage: u32
Trait Implementations§
Source§impl From<(TargetSelection, u32)> for HostAndStage
impl From<(TargetSelection, u32)> for HostAndStage
Source§fn from((host, stage): (TargetSelection, u32)) -> Self
fn from((host, stage): (TargetSelection, u32)) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HostAndStage
impl RefUnwindSafe for HostAndStage
impl Send for HostAndStage
impl Sync for HostAndStage
impl Unpin for HostAndStage
impl UnwindSafe for HostAndStage
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