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§
sourcetype Options: CompilerOptions
type Options: CompilerOptions
The options that this target accepts.
Provided Methods§
Object Safety§
This trait is not object safe.
Implementors§
source§impl CompilableTarget for Cpp
Available on crate feature cpp only.
impl CompilableTarget for Cpp
Available on crate feature
cpp only.source§impl CompilableTarget for Glsl
Available on crate feature glsl only.
impl CompilableTarget for Glsl
Available on crate feature
glsl only.type Options = CompilerOptions
source§impl CompilableTarget for Hlsl
Available on crate feature hlsl only.
impl CompilableTarget for Hlsl
Available on crate feature
hlsl only.type Options = CompilerOptions
source§impl CompilableTarget for Json
Available on crate feature json only.
impl CompilableTarget for Json
Available on crate feature
json only.source§impl CompilableTarget for Msl
Available on crate feature msl only.
impl CompilableTarget for Msl
Available on crate feature
msl only.