Enum dae_parser::Profile
source · [−]pub enum Profile {
Common(ProfileCommon),
CG(ProfileCG),
GLES(ProfileGLES),
GLSL(ProfileGLSL),
}
Expand description
A <profile_*>
element.
Variants
Common(ProfileCommon)
Opens a block of platform-independent declarations for the common, fixed-function shader.
CG(ProfileCG)
Declares platform-specific data types and Technique
s
for the Cg language.
GLES(ProfileGLES)
Declares platform-specific data types and Technique
s
for OpenGL ES.
GLSL(ProfileGLSL)
Declares platform-specific data types and Technique
s
for OpenGL Shading Language.
Implementations
Trait Implementations
sourceimpl From<ProfileCommon> for Profile
impl From<ProfileCommon> for Profile
sourcefn from(v: ProfileCommon) -> Self
fn from(v: ProfileCommon) -> Self
Converts to this type from the input type.
sourceimpl From<ProfileGLES> for Profile
impl From<ProfileGLES> for Profile
sourcefn from(v: ProfileGLES) -> Self
fn from(v: ProfileGLES) -> Self
Converts to this type from the input type.
sourceimpl From<ProfileGLSL> for Profile
impl From<ProfileGLSL> for Profile
sourcefn from(v: ProfileGLSL) -> Self
fn from(v: ProfileGLSL) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnwindSafe for Profile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more