Union gfx_hal::command::ClearColorRaw
source · #[repr(C)]
pub union ClearColorRaw {
pub float32: [f32; 4],
pub int32: [i32; 4],
pub uint32: [u32; 4],
/* private fields */
}
Expand description
Unsafe variant of ClearColor
.
Fields
float32: [f32; 4]
f32
variant
int32: [i32; 4]
i32
variant
uint32: [u32; 4]
u32
variant
Trait Implementations
sourceimpl Clone for ClearColorRaw
impl Clone for ClearColorRaw
sourcefn clone(&self) -> ClearColorRaw
fn clone(&self) -> ClearColorRaw
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 From<ClearColor> for ClearColorRaw
impl From<ClearColor> for ClearColorRaw
sourcefn from(cv: ClearColor) -> Self
fn from(cv: ClearColor) -> Self
Converts to this type from the input type.
impl Copy for ClearColorRaw
Auto Trait Implementations
impl RefUnwindSafe for ClearColorRaw
impl Send for ClearColorRaw
impl Sync for ClearColorRaw
impl Unpin for ClearColorRaw
impl UnwindSafe for ClearColorRaw
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