pub struct TextureDesc {
pub format: TextureFormat,
pub width: Option<usize>,
pub height: Option<usize>,
pub multisample: Option<usize>,
}
Fields§
§format: TextureFormat
§width: Option<usize>
§height: Option<usize>
§multisample: Option<usize>
Trait Implementations§
Source§impl Clone for TextureDesc
impl Clone for TextureDesc
Source§fn clone(&self) -> TextureDesc
fn clone(&self) -> TextureDesc
Returns a copy 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 moreSource§impl Default for TextureDesc
impl Default for TextureDesc
Source§impl PartialEq for TextureDesc
impl PartialEq for TextureDesc
impl StructuralPartialEq for TextureDesc
Auto Trait Implementations§
impl Freeze for TextureDesc
impl RefUnwindSafe for TextureDesc
impl Send for TextureDesc
impl Sync for TextureDesc
impl Unpin 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