Enum ocl::builders::BuildOpt[][src]

pub enum BuildOpt {
    CmplrDefine {
        ident: String,
        val: String,
    },
    CmplrInclDir {
        path: String,
    },
    CmplrOther(String),
    IncludeDefine {
        ident: String,
        val: String,
    },
    IncludeRaw(String),
    IncludeRawEof(String),
}

A build option used by ProgramBuilder.

Strings intended for use either by the compiler as a command line switch or for inclusion in the final build source code.

A few of the often used variants have constructors for convenience.

  • [FIXME] TODO: Explain how each variant is used.

  • [FIXME] TODO: Examples.

Variants

Fields of CmplrDefine

Fields of CmplrInclDir

Fields of IncludeDefine

Methods

impl BuildOpt
[src]

Returns a BuildOpt::CmplrDefine.

Returns a BuildOpt::IncludeDefine.

Trait Implementations

impl Clone for BuildOpt
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for BuildOpt
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for BuildOpt

impl Sync for BuildOpt