Enum dae_parser::ParamType [−][src]
pub enum ParamType {
Float(f32),
Float2([f32; 2]),
Float3(Box<[f32; 3]>),
Float4(Box<[f32; 4]>),
Surface(Box<Surface>),
Sampler2D(Box<Sampler2D>),
Other(Box<Element>),
}
Expand description
A parameter’s type. We do not have full support here,
but unknown types can be retrieved in the Other
variant.
Variants
Float(f32)
float
type
Tuple Fields of Float
0: f32
float2
type
float3
type
float4
type
surface
type
sampler2D
type
Any other type, stored as a raw XML element.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ParamType
impl UnwindSafe for ParamType
Blanket Implementations
Mutably borrows from an owned value. Read more