[−][src]Trait proc_macro_roids::DeriveInputNewtypeExt
Functions to make it ergonomic to work with newtype struct
ASTs.
Required methods
fn inner_type(&self) -> &Field
Returns the Field
of the first unnamed field of this struct's AST.
Panics
Panics if the AST is not for a newtype struct.
fn inner_type_mut(&mut self) -> &mut Field
Returns the Field
of the first unnamed field of this struct's AST.
Panics
Panics if the AST is not for a newtype struct.