#[repr(C)]pub union ClearColorValue {
pub float32: [f32; 4],
pub int32: [i32; 4],
pub uint32: [u32; 4],
}Expand description
Native union VkClearColorValue.
Fields§
§float32: [f32; 4]Native field float32.
int32: [i32; 4]Native field int32.
uint32: [u32; 4]Native field uint32.
Implementations§
Source§impl ClearColorValue
impl ClearColorValue
Sourcepub fn set_float32(self, value: [f32; 4]) -> Self
pub fn set_float32(self, value: [f32; 4]) -> Self
Set native field float32 without native effects.
Sourcepub fn set_uint32(self, value: [u32; 4]) -> Self
pub fn set_uint32(self, value: [u32; 4]) -> Self
Set native field uint32 without native effects.
Trait Implementations§
Source§impl Clone for ClearColorValue
impl Clone for ClearColorValue
impl Copy for ClearColorValue
Auto Trait Implementations§
impl Forget for ClearColorValue
impl Freeze for ClearColorValue
impl Move for ClearColorValue
impl RefUnwindSafe for ClearColorValue
impl Send for ClearColorValue
impl Sync for ClearColorValue
impl Unpin for ClearColorValue
impl UnsafeUnpin for ClearColorValue
impl UnwindSafe for ClearColorValue
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