pub struct TextureDesc {
pub width: u32,
pub height: u32,
pub format: TextureFormat,
}Expand description
Immutable texture description.
Fields§
§width: u32§height: u32§format: TextureFormatImplementations§
Trait Implementations§
Source§impl Clone for TextureDesc
impl Clone for TextureDesc
impl Copy for TextureDesc
Source§impl Debug for TextureDesc
impl Debug for TextureDesc
impl Eq for TextureDesc
Source§impl Hash for TextureDesc
impl Hash for TextureDesc
Source§impl PartialEq for TextureDesc
impl PartialEq for TextureDesc
impl StructuralPartialEq for TextureDesc
Auto Trait Implementations§
impl Forget for TextureDesc
impl Freeze for TextureDesc
impl Move for TextureDesc
impl RefUnwindSafe for TextureDesc
impl Send for TextureDesc
impl Sync for TextureDesc
impl Unpin for TextureDesc
impl UnsafeUnpin for TextureDesc
impl UnwindSafe for TextureDesc
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.