pub struct TextureDescriptor {
pub width: u32,
pub height: u32,
pub color_format: ColorFormat,
pub mip_count: u32,
}Fields§
§width: u32§height: u32§color_format: ColorFormat§mip_count: u32Trait Implementations§
Source§impl Clone for TextureDescriptor
impl Clone for TextureDescriptor
Source§fn clone(&self) -> TextureDescriptor
fn clone(&self) -> TextureDescriptor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TextureDescriptor
impl RefUnwindSafe for TextureDescriptor
impl Send for TextureDescriptor
impl Sync for TextureDescriptor
impl Unpin for TextureDescriptor
impl UnwindSafe for TextureDescriptor
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