pub struct TextureCreateError {
pub width: usize,
pub height: usize,
}
Expand description
Error when failing to create a texture
Fields§
§width: usize
The width of the requested texture
height: usize
The height of the requested texture
Trait Implementations§
Source§impl Debug for TextureCreateError
impl Debug for TextureCreateError
Source§impl Display for TextureCreateError
impl Display for TextureCreateError
Source§impl From<TextureCreateError> for PassError
impl From<TextureCreateError> for PassError
Source§fn from(src: TextureCreateError) -> Self
fn from(src: TextureCreateError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TextureCreateError
impl RefUnwindSafe for TextureCreateError
impl Send for TextureCreateError
impl Sync for TextureCreateError
impl Unpin for TextureCreateError
impl UnwindSafe for TextureCreateError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more