Skip to main content

struct_of

Function struct_of 

Source
fn struct_of<'hir>(hir: &'hir Hir<'hir>, expr: &Expr<'hir>) -> Option<StructId>
Expand description

Returns the [StructId] of expr when it is a (possibly chained) struct value.