Struct vulkano::instance::debug::DebugUtilsLabel
source · pub struct DebugUtilsLabel {
pub label_name: String,
pub color: [f32; 4],
pub _ne: NonExhaustive,
}
Expand description
A label to associate with a span of work in a queue.
When debugging, labels can be useful to identify which queue, or where in a specific queue, something happened.
Fields§
§label_name: String
The name of the label.
The default value is empty.
color: [f32; 4]
An RGBA color value that is associated with the label, with values in the range 0.0..=1.0
.
If set to [0.0; 4]
, the value is ignored.
The default value is [0.0; 4]
.
_ne: NonExhaustive
Trait Implementations§
source§impl Clone for DebugUtilsLabel
impl Clone for DebugUtilsLabel
source§fn clone(&self) -> DebugUtilsLabel
fn clone(&self) -> DebugUtilsLabel
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 DebugUtilsLabel
impl Debug for DebugUtilsLabel
Auto Trait Implementations§
impl RefUnwindSafe for DebugUtilsLabel
impl Send for DebugUtilsLabel
impl Sync for DebugUtilsLabel
impl Unpin for DebugUtilsLabel
impl UnwindSafe for DebugUtilsLabel
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