pub struct EffectArgument {
pub name: &'static str,
pub value: EffectValue,
}Fields§
§name: &'static str§value: EffectValueImplementations§
Source§impl EffectArgument
impl EffectArgument
pub const fn new(name: &'static str, value: EffectValue) -> Self
Trait Implementations§
Source§impl Clone for EffectArgument
impl Clone for EffectArgument
Source§fn clone(&self) -> EffectArgument
fn clone(&self) -> EffectArgument
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EffectArgument
impl Debug for EffectArgument
Source§impl From<(&'static str, EffectValue)> for EffectArgument
impl From<(&'static str, EffectValue)> for EffectArgument
Source§fn from((name, value): (&'static str, EffectValue)) -> Self
fn from((name, value): (&'static str, EffectValue)) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EffectArgument
impl PartialEq for EffectArgument
impl StructuralPartialEq for EffectArgument
Auto Trait Implementations§
impl Freeze for EffectArgument
impl RefUnwindSafe for EffectArgument
impl Send for EffectArgument
impl Sync for EffectArgument
impl Unpin for EffectArgument
impl UnsafeUnpin for EffectArgument
impl UnwindSafe for EffectArgument
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