Skip to main content

fourcc

Macro fourcc 

Source
fourcc!() { /* proc-macro */ }
Expand description

Macro to create fourcc::FourCCs from literals at compile time.

The macro accepts a single argument of a string literal, byte string, or integer. Other types are rejected. It will also emit a compilation error if the given value is out of range or contains invalid characters.