Struct librashader::presets::ParameterConfig
source · pub struct ParameterConfig {
pub name: String,
pub value: f32,
}
Available on crate feature
presets
only.Expand description
Configuration options for a shader parameter.
Fields§
§name: String
The name of the parameter.
value: f32
The value it is set to in the preset.
Trait Implementations§
source§impl Clone for ParameterConfig
impl Clone for ParameterConfig
source§fn clone(&self) -> ParameterConfig
fn clone(&self) -> ParameterConfig
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 RefUnwindSafe for ParameterConfig
impl Send for ParameterConfig
impl Sync for ParameterConfig
impl Unpin for ParameterConfig
impl UnwindSafe for ParameterConfig
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