Function inherited_align

Source
fn inherited_align<'tcx>(tcx: TyCtxt<'tcx>, def_id: DefId) -> Option<Align>
Expand description

If the provided DefId is a method in a trait impl, return the value of the #[align] attribute on the method prototype (if any).