Lines Matching refs:CompoundRepr
34 Compound(Spanned<CompoundRepr<Prim>>, Option<Spanned<AlignRepr<Packed>>>),
39 pub(crate) enum CompoundRepr<Prim> { enum
86 use CompoundRepr::*; in repr_type_name()
117 use CompoundRepr::*; in is_c()
122 use CompoundRepr::*; in is_primitive()
175 use CompoundRepr::*; in get_primitive()
214 impl<Prim: With<PrimitiveRepr> + Copy> ToTokens for Spanned<CompoundRepr<Prim>> {
216 use CompoundRepr::*; in to_tokens()
306 impl<Prim: With<PrimitiveRepr>> TryFrom<RawRepr> for CompoundRepr<Prim> { implementation
310 ) -> Result<CompoundRepr<Prim>, FromRawReprError<UnsupportedReprError>> { in try_from()
313 C => Ok(CompoundRepr::C), in try_from()
314 Rust => Ok(CompoundRepr::Rust), in try_from()
336 .map(CompoundRepr::Primitive) in try_from()
485 let compound: Option<Spanned<CompoundRepr<Prim>>> = in from_attrs_inner()
500 compound.unwrap_or(Spanned::new(CompoundRepr::Rust, Span::call_site())), in from_attrs_inner()
742 use CompoundRepr::*; in test()