Union gfx_hal::command::ClearValueRaw
source · #[repr(C)]
pub union ClearValueRaw {
pub color: ClearColorRaw,
pub depth_stencil: ClearDepthStencilRaw,
/* private fields */
}
Expand description
Unsafe variant of ClearValue
.
Fields
color: ClearColorRaw
Clear color
depth_stencil: ClearDepthStencilRaw
Clear depth and stencil
Trait Implementations
sourceimpl Clone for ClearValueRaw
impl Clone for ClearValueRaw
sourcefn clone(&self) -> ClearValueRaw
fn clone(&self) -> ClearValueRaw
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ClearValueRaw
impl Debug for ClearValueRaw
sourceimpl From<ClearValue> for ClearValueRaw
impl From<ClearValue> for ClearValueRaw
sourcefn from(value: ClearValue) -> Self
fn from(value: ClearValue) -> Self
Converts to this type from the input type.
impl Copy for ClearValueRaw
Auto Trait Implementations
impl RefUnwindSafe for ClearValueRaw
impl Send for ClearValueRaw
impl Sync for ClearValueRaw
impl Unpin for ClearValueRaw
impl UnwindSafe for ClearValueRaw
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more