Enum spirv_tools::binary::Binary[][src]

pub enum Binary {
    External(ExternalBinary),
    OwnedU32(Vec<u32>),
    OwnedU8(Vec<u8>),
}

Variants

External(ExternalBinary)

Tuple Fields of External

0: ExternalBinary
OwnedU32(Vec<u32>)

Tuple Fields of OwnedU32

0: Vec<u32>
OwnedU8(Vec<u8>)

Tuple Fields of OwnedU8

0: Vec<u8>

Implementations

Gets a byte array for binary

Gets the words for the binary

Trait Implementations

Performs the conversion.

Performs the conversion.

Formats the value using the given formatter. Read more

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.