[][src]Enum cargo_sysroot::Features

pub enum Features {
    CompilerBuiltinsMem,
    CompilerBuiltinsC,
    CompilerBuiltinsNoAsm,
}

Features to enable when building the sysroot crates

See SysrootBuilder::features for usage.

Variants

CompilerBuiltinsMem

This enables the mem feature of compiler_builtins, which will provide memory related intrinsics such as memcpy.

CompilerBuiltinsC

This enables the c feature of compiler_builtins, which enables compilation of C code and may result in more optimized implementations, and fills in the rare unimplemented intrinsics.

CompilerBuiltinsNoAsm

This enables the no-asm feature of compiler_builtins, which disables any implementations which use inline assembly and fall back to pure Rust versions (if available).

Trait Implementations

impl Clone for Features[src]

impl Copy for Features[src]

impl Debug for Features[src]

impl Eq for Features[src]

impl Ord for Features[src]

impl PartialEq<Features> for Features[src]

impl PartialOrd<Features> for Features[src]

impl StructuralEq for Features[src]

impl StructuralPartialEq for Features[src]

Auto Trait Implementations

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> Pointable for T

type Init = T

The type for initializers.

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.