Trait spirv_cross2::compile::CompilableTarget

source ·
pub trait CompilableTarget: Target {
    type Options: CompilerOptions;

    // Provided method
    fn options() -> Self::Options { ... }
}
Expand description

Marker trait for a compiler target that can have compiler outputs.

Required Associated Types§

source

type Options: CompilerOptions

The options that this target accepts.

Provided Methods§

source

fn options() -> Self::Options

Create a new instance of compiler options for this target.

Object Safety§

This trait is not object safe.

Implementors§