Struct makepad_platform::TextureDesc
source · pub struct TextureDesc {
pub format: TextureFormat,
pub width: Option<usize>,
pub height: Option<usize>,
}Fields§
§format: TextureFormat§width: Option<usize>§height: 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<TextureDesc> for TextureDesc
impl PartialEq<TextureDesc> for TextureDesc
source§fn eq(&self, other: &TextureDesc) -> bool
fn eq(&self, other: &TextureDesc) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for TextureDesc
impl StructuralPartialEq for TextureDesc
Auto Trait Implementations§
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