pub struct EffectSetParam {
pub ref_: String,
pub value: AnnotType,
}
Expand description
Assigns a new value to a previously defined parameter.
This type corresponds to the <setparam>
element in the COLLADA spec
in the special case where the parent is an <instance_effect>
.
Fields§
§ref_: String
Attempts to reference the predefined parameter that will have its value set.
value: AnnotType
The value of the parameter.
Implementations§
Trait Implementations§
Source§impl Clone for EffectSetParam
impl Clone for EffectSetParam
Source§fn clone(&self) -> EffectSetParam
fn clone(&self) -> EffectSetParam
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 EffectSetParam
impl RefUnwindSafe for EffectSetParam
impl Send for EffectSetParam
impl Sync for EffectSetParam
impl Unpin for EffectSetParam
impl UnwindSafe for EffectSetParam
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