Enum sierra::ClearValue
source · Expand description
Value for attachment load clear operation.
Variants§
Trait Implementations§
source§impl Clone for ClearValue
impl Clone for ClearValue
source§fn clone(&self) -> ClearValue
fn clone(&self) -> ClearValue
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 ClearValue
impl Debug for ClearValue
source§impl From<ClearColor> for ClearValue
impl From<ClearColor> for ClearValue
source§fn from(ClearColor: ClearColor) -> Self
fn from(ClearColor: ClearColor) -> Self
Converts to this type from the input type.
source§impl From<ClearDepth> for ClearValue
impl From<ClearDepth> for ClearValue
source§fn from(ClearDepth: ClearDepth) -> Self
fn from(ClearDepth: ClearDepth) -> Self
Converts to this type from the input type.
source§impl From<ClearDepthStencil> for ClearValue
impl From<ClearDepthStencil> for ClearValue
source§fn from(ClearDepthStencil: ClearDepthStencil) -> Self
fn from(ClearDepthStencil: ClearDepthStencil) -> Self
Converts to this type from the input type.
source§impl From<ClearStencil> for ClearValue
impl From<ClearStencil> for ClearValue
source§fn from(ClearStencil: ClearStencil) -> Self
fn from(ClearStencil: ClearStencil) -> Self
Converts to this type from the input type.
source§impl PartialEq<ClearValue> for ClearValue
impl PartialEq<ClearValue> for ClearValue
source§fn eq(&self, other: &ClearValue) -> bool
fn eq(&self, other: &ClearValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.