rust-bindgen icon indicating copy to clipboard operation
rust-bindgen copied to clipboard

Add `FieldInfo::field_type_name`

Open workingjubilee opened this issue 1 year ago • 2 comments

In my case, I want to make a field private and wrap it behind an accessor function that makes the field unsafe to access. I need the field's type in order to make this decision correctly. In some cases a type name is not available and I am fine with that.

workingjubilee avatar Jul 05 '24 18:07 workingjubilee

Is there any chance you could document this in the changelog? it looks good to me otherwise

pvdrz avatar Jul 05 '24 21:07 pvdrz

:umbrella: The latest upstream changes (presumably 9a8e5ca2f4089e21300fbea6b73e82efd7f18882) made this pull request unmergeable. Please resolve the merge conflicts.

bors-servo avatar Sep 03 '24 14:09 bors-servo