Struct irondash_texture::TextureDescriptor
source · pub struct TextureDescriptor<'a, HandleType> {
pub handle: &'a HandleType,
pub width: i32,
pub height: i32,
pub visible_width: i32,
pub visible_height: i32,
pub pixel_format: PixelFormat,
}
Expand description
Texture descriptor for native texture.
Fields§
§handle: &'a HandleType
§width: i32
§height: i32
§visible_width: i32
§visible_height: i32
§pixel_format: PixelFormat
Auto Trait Implementations§
impl<'a, HandleType> RefUnwindSafe for TextureDescriptor<'a, HandleType>where
HandleType: RefUnwindSafe,
impl<'a, HandleType> Send for TextureDescriptor<'a, HandleType>where
HandleType: Sync,
impl<'a, HandleType> Sync for TextureDescriptor<'a, HandleType>where
HandleType: Sync,
impl<'a, HandleType> Unpin for TextureDescriptor<'a, HandleType>
impl<'a, HandleType> UnwindSafe for TextureDescriptor<'a, HandleType>where
HandleType: RefUnwindSafe,
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