#[repr(C)]pub struct SDL_GPUColorTargetDescription {
pub format: SDL_GPUTextureFormat,
pub blend_state: SDL_GPUColorTargetBlendState,
}Expand description
Fields§
§format: SDL_GPUTextureFormatThe pixel format of the texture to be used as a color target.
blend_state: SDL_GPUColorTargetBlendStateThe blend state to be used for the color target.
Trait Implementations§
Source§impl Clone for SDL_GPUColorTargetDescription
impl Clone for SDL_GPUColorTargetDescription
Source§fn clone(&self) -> SDL_GPUColorTargetDescription
fn clone(&self) -> SDL_GPUColorTargetDescription
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 moreSource§impl Default for SDL_GPUColorTargetDescription
impl Default for SDL_GPUColorTargetDescription
Source§fn default() -> SDL_GPUColorTargetDescription
fn default() -> SDL_GPUColorTargetDescription
Returns the “default value” for a type. Read more
Source§impl Hash for SDL_GPUColorTargetDescription
impl Hash for SDL_GPUColorTargetDescription
Source§impl PartialEq for SDL_GPUColorTargetDescription
impl PartialEq for SDL_GPUColorTargetDescription
Source§fn eq(&self, other: &SDL_GPUColorTargetDescription) -> bool
fn eq(&self, other: &SDL_GPUColorTargetDescription) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SDL_GPUColorTargetDescription
impl Eq for SDL_GPUColorTargetDescription
impl StructuralPartialEq for SDL_GPUColorTargetDescription
Auto Trait Implementations§
impl Freeze for SDL_GPUColorTargetDescription
impl RefUnwindSafe for SDL_GPUColorTargetDescription
impl Send for SDL_GPUColorTargetDescription
impl Sync for SDL_GPUColorTargetDescription
impl Unpin for SDL_GPUColorTargetDescription
impl UnwindSafe for SDL_GPUColorTargetDescription
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