Skip to main content

Unit

Type Alias Unit 

Source
pub type Unit = Ident<KnownUnit, u32>;
Expand description

A Unit value.

Aliased Type§

pub enum Unit {
    Known(KnownUnit),
    Reserved(u32),
}

Variants§

§

Known(KnownUnit)

A well-known Usage ID.

§

Reserved(u32)

A reserved Usage ID.

This can be used to identify vendor-specific types.