pub trait EasyTexture { // Required methods fn get_shared(&self) -> Result<HANDLE>; fn desc(&self) -> D3D11_TEXTURE2D_DESC; }