fn struct_of<'hir>(hir: &'hir Hir<'hir>, expr: &Expr<'hir>) -> Option<StructId>
Returns the [StructId] of expr when it is a (possibly chained) struct value.
StructId
expr