pub struct NewD3dParams {
pub height: u32,
pub width: u32,
pub depth: Option<u32>,
pub format: D3DFormat,
pub mipmap_levels: Option<u32>,
pub caps2: Option<Caps2>,
}Expand description
Parameters for Dds::new_d3d()
Fields§
§height: u32§width: u32§depth: Option<u32>§format: D3DFormat§mipmap_levels: Option<u32>§caps2: Option<Caps2>Trait Implementations§
Source§impl Clone for NewD3dParams
impl Clone for NewD3dParams
Source§fn clone(&self) -> NewD3dParams
fn clone(&self) -> NewD3dParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NewD3dParams
impl RefUnwindSafe for NewD3dParams
impl Send for NewD3dParams
impl Sync for NewD3dParams
impl Unpin for NewD3dParams
impl UnsafeUnpin for NewD3dParams
impl UnwindSafe for NewD3dParams
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