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: StringThe 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: NonExhaustiveTrait Implementations§
Source§impl Clone for DebugUtilsLabel
impl Clone for DebugUtilsLabel
Source§fn clone(&self) -> DebugUtilsLabel
fn clone(&self) -> DebugUtilsLabel
Returns a duplicate 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
Source§impl Default for DebugUtilsLabel
impl Default for DebugUtilsLabel
Source§fn default() -> DebugUtilsLabel
fn default() -> DebugUtilsLabel
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DebugUtilsLabel
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