Function syntax::ast_util::struct_def_is_tuple_likeUnstable [-] [+] [src]

pub fn struct_def_is_tuple_like(struct_def: &StructDef) -> bool

Returns true if the given struct def is tuple-like; i.e. that its fields are unnamed.