Struct wgpu_hal::gles::ColorTargetDesc
source · struct ColorTargetDesc {
mask: ColorWrites,
blend: Option<BlendDesc>,
}
Fields§
§mask: ColorWrites
§blend: Option<BlendDesc>
Trait Implementations§
source§impl Clone for ColorTargetDesc
impl Clone for ColorTargetDesc
source§fn clone(&self) -> ColorTargetDesc
fn clone(&self) -> ColorTargetDesc
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 Debug for ColorTargetDesc
impl Debug for ColorTargetDesc
source§impl Default for ColorTargetDesc
impl Default for ColorTargetDesc
source§fn default() -> ColorTargetDesc
fn default() -> ColorTargetDesc
Returns the “default value” for a type. Read more
source§impl PartialEq for ColorTargetDesc
impl PartialEq for ColorTargetDesc
source§fn eq(&self, other: &ColorTargetDesc) -> bool
fn eq(&self, other: &ColorTargetDesc) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ColorTargetDesc
Auto Trait Implementations§
impl Freeze for ColorTargetDesc
impl RefUnwindSafe for ColorTargetDesc
impl Send for ColorTargetDesc
impl Sync for ColorTargetDesc
impl Unpin for ColorTargetDesc
impl UnwindSafe for ColorTargetDesc
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