Struct sierra::RenderingColorInfo
source · pub struct RenderingColorInfo {
pub color_view: ImageView,
pub color_layout: Layout,
pub color_load_op: LoadOp<ClearColor>,
pub color_store_op: StoreOp,
}
Fields§
§color_view: ImageView
§color_layout: Layout
§color_load_op: LoadOp<ClearColor>
§color_store_op: StoreOp
Implementations§
source§impl RenderingColorInfo
impl RenderingColorInfo
pub fn new(color_view: ImageView) -> Self
pub fn load_op(self, load_op: LoadOp<ClearColor>) -> Self
pub fn store_op(self, store_op: StoreOp) -> Self
pub fn layout(self, layout: Layout) -> Self
pub fn load(self) -> Self
pub fn clear(self, color: ClearColor) -> Self
pub fn store(self) -> Self
Trait Implementations§
source§impl Clone for RenderingColorInfo
impl Clone for RenderingColorInfo
source§fn clone(&self) -> RenderingColorInfo
fn clone(&self) -> RenderingColorInfo
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 RenderingColorInfo
impl Debug for RenderingColorInfo
source§impl PartialEq<RenderingColorInfo> for RenderingColorInfo
impl PartialEq<RenderingColorInfo> for RenderingColorInfo
source§fn eq(&self, other: &RenderingColorInfo) -> bool
fn eq(&self, other: &RenderingColorInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.