Struct dae_parser::TechniqueHint
source · [−]pub struct TechniqueHint {
pub platform: Option<String>,
pub ref_: String,
pub profile: Option<String>,
}
Expand description
Adds a hint for a platform of which technique to use in this effect.
Fields
platform: Option<String>
Defines a string that specifies for which platform this hint is intended.
ref_: String
A reference to the name of the platform.
profile: Option<String>
A string that specifies for which API profile this hint is intended.
It is the name of the profile within the effect that contains the technique.
Profiles are constructed by appending this attribute’s value to “Profile”.
For example, to select ProfileCG
, specify profile="CG"
.
Implementations
Trait Implementations
sourceimpl Clone for TechniqueHint
impl Clone for TechniqueHint
sourcefn clone(&self) -> TechniqueHint
fn clone(&self) -> TechniqueHint
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for TechniqueHint
impl Send for TechniqueHint
impl Sync for TechniqueHint
impl Unpin for TechniqueHint
impl UnwindSafe for TechniqueHint
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