It’s stated in the code
class MYPROJECT2_API UImitationWidget : public UUserWidget
so it inherits from UUserWidget