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§
Source§impl Clone for TechniqueHint
impl Clone for TechniqueHint
Source§fn clone(&self) -> TechniqueHint
fn clone(&self) -> TechniqueHint
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for TechniqueHint
impl RefUnwindSafe for TechniqueHint
impl Send for TechniqueHint
impl Sync for TechniqueHint
impl Unpin for TechniqueHint
impl UnwindSafe for TechniqueHint
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more