[][src]Enum cargo_sysroot::Sysroot

pub enum Sysroot {
    Core,
    CompilerBuiltins,
    Alloc,
    Std,
}

The sysroot crates to build.

See [build_sysroot_with] for details.

Variants

Core

The core crate. Provides core functionality.

This does not include Sysroot::CompilerBuiltins, which is what you probably want unless your target needs special handling.

CompilerBuiltins

Compiler-builtins crate.

This implies Sysroot::Core.

Alloc

The alloc crate. Gives you a heap, and things to put on it.

This implies Sysroot::Core, and Sysroot::CompilerBuiltins.

Std

The standard library. Gives you an operating system.

This implies Sysroot::Alloc, Sysroot::Core, and Sysroot::CompilerBuiltins.

Trait Implementations

impl Clone for Sysroot[src]

impl Copy for Sysroot[src]

impl Debug for Sysroot[src]

Auto Trait Implementations

impl RefUnwindSafe for Sysroot

impl Send for Sysroot

impl Sync for Sysroot

impl Unpin for Sysroot

impl UnwindSafe for Sysroot

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.