pub struct ColorTargetState {
pub format: Option<TextureFormat>,
pub blend: Option<BlendState>,
pub write_mask: Option<ColorWriteMask>,
/* private fields */
}Fields§
§format: Option<TextureFormat>§blend: Option<BlendState>§write_mask: Option<ColorWriteMask>Implementations§
Source§impl ColorTargetState
impl ColorTargetState
pub fn new() -> Self
pub fn with_extension(self, extension: ColorTargetStateExtension) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ColorTargetState
impl RefUnwindSafe for ColorTargetState
impl Send for ColorTargetState
impl Sync for ColorTargetState
impl Unpin for ColorTargetState
impl UnsafeUnpin for ColorTargetState
impl UnwindSafe for ColorTargetState
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