Enum dae_parser::Profile[][src]

pub enum Profile {
    Common(ProfileCommon),
    CG(ProfileCG),
    GLES(ProfileGLES),
    GLSL(ProfileGLSL),
}
Expand description

A <profile_*> element.

Variants

Opens a block of platform-independent declarations for the common, fixed-function shader.

Tuple Fields of Common

0: ProfileCommon

Declares platform-specific data types and Techniques for the Cg language.

Tuple Fields of CG

0: ProfileCG

Declares platform-specific data types and Techniques for OpenGL ES.

Tuple Fields of GLES

0: ProfileGLES

Declares platform-specific data types and Techniques for OpenGL Shading Language.

Tuple Fields of GLSL

0: ProfileGLSL

Implementations

Parse a Profile from an XML element.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.