Type Alias wgpu_core::Label

source ·
pub type Label<'a> = Option<Cow<'a, str>>;

Aliased Type§

enum Label<'a> {
    None,
    Some(Cow<'a, str>),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(Cow<'a, str>)

Some value of type T.

Trait Implementations§

source§

impl<'a> LabelHelpers<'a> for Label<'a>

source§

fn to_hal(&'a self, flags: InstanceFlags) -> Option<&'a str>

source§

fn to_string(&self) -> String