/// Implement the `Diff` trait on Enums and Structs.
Implement the `Diff` trait on Enums and Structs.
Implement the ` Diff ` trait on Enums and Structs .
pub fn impl_diff(&self) -> TokenStream {
    match self {
      Self::Struct(InputStruct { .. }) => diff_impl(self),
      Self::Enum(InputEnum { .. }) => impl_diff_enum(self),
    }
  }
pub fn impl_diff ( & self ) -> TokenStream { match self { Self :: Struct ( InputStruct { .. } ) => diff_impl ( self ) , Self :: Enum ( InputEnum { .. } ) => impl_diff_enum ( self ) , } }
Implement the `Diff` trait on Enums and Structs.
Implement the ` Diff ` trait on Enums and Structs .
&self