[][src]Struct elba::build::context::Compiler

pub struct Compiler { /* fields omitted */ }

Information on the compiler executable

Methods

impl Compiler[src]

pub fn new(name: &str) -> Res<Compiler>[src]

Run the compiler at path to learn various pieces of information about it.

pub fn process(&self) -> Command[src]

Get a process set up to use the found compiler

pub fn path(&self) -> &Path[src]

pub fn flavor(&self) -> CompilerFlavor[src]

pub fn version(&self) -> Res<String>[src]

Get the version of the compiler

Trait Implementations

impl Default for Compiler[src]

impl Debug for Compiler[src]

Auto Trait Implementations

impl Send for Compiler

impl Sync for Compiler

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<T> Same<T> for T

type Output = T

Should always be Self