Skip to main content

ImpliedFeatures

Type Alias ImpliedFeatures 

Source
type ImpliedFeatures = &'static [&'static str];
Expand description

If feature A “implies” feature B, then:

  • when A gets enabled (via -Ctarget-feature or #[target_feature]), we also enable B
  • when B gets disabled (via -Ctarget-feature), we also disable A

Both of these are also applied transitively.

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: 16 bytes