Function syntax::attr::find_repr_attrs [] [src]

Important traits for Vec<u8>
pub fn find_repr_attrs(diagnostic: &Handler, attr: &Attribute) -> Vec<ReprAttr>
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Parse #[repr(...)] forms.

Valid repr contents: any of the primitive integral type names (see int_type_of_word, below) to specify enum discriminant type; C, to use the same discriminant size that the corresponding C enum would or C structure layout, and packed to remove padding.