#[repr(transparent)]pub struct ClearValue(pub VkClearValue);Tuple Fields§
§0: VkClearValueImplementations§
Source§impl ClearValue
impl ClearValue
Sourcepub fn color(c: impl Into<ClearColorValue>) -> Self
pub fn color(c: impl Into<ClearColorValue>) -> Self
Constructs a ClearValue which represents clearing color value
Sourcepub const fn color_f32(c: [f32; 4]) -> Self
pub const fn color_f32(c: [f32; 4]) -> Self
Constructs a ClearValue which represents clearing color value
Sourcepub const fn color_u32(c: [u32; 4]) -> Self
pub const fn color_u32(c: [u32; 4]) -> Self
Constructs a ClearValue which represents clearing color value
Sourcepub const fn color_i32(c: [i32; 4]) -> Self
pub const fn color_i32(c: [i32; 4]) -> Self
Constructs a ClearValue which represents clearing color value
Sourcepub const fn depth_stencil(depth: f32, stencil: u32) -> Self
pub const fn depth_stencil(depth: f32, stencil: u32) -> Self
Constructs a ClearValue which represents clearing both depth and stencil values
Auto Trait Implementations§
impl Freeze for ClearValue
impl RefUnwindSafe for ClearValue
impl Send for ClearValue
impl Sync for ClearValue
impl Unpin for ClearValue
impl UnsafeUnpin for ClearValue
impl UnwindSafe for ClearValue
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