Texture 2D to Widget Image

I have a 2D texture variable that I am trying to display on a UI, and I am trying to set the image on the UI to that 2D texture variable, but I cannot go straight from the 2D Texture to the UI Image. Is there a way to convert a 2D texture to an Image?

Like this.