pub struct TechEffect {
pub commands: Vec<EffectCommand>,
/* private fields */
}
Expand description
A tech effect is a group of attribute changes that are applied when the effect is triggered.
Fields§
§commands: Vec<EffectCommand>
Attribute commands to execute when this effect is triggered.
Implementations§
Source§impl TechEffect
impl TechEffect
Trait Implementations§
Source§impl Clone for TechEffect
impl Clone for TechEffect
Source§fn clone(&self) -> TechEffect
fn clone(&self) -> TechEffect
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 moreSource§impl Debug for TechEffect
impl Debug for TechEffect
Source§impl Default for TechEffect
impl Default for TechEffect
Source§fn default() -> TechEffect
fn default() -> TechEffect
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TechEffect
impl RefUnwindSafe for TechEffect
impl Send for TechEffect
impl Sync for TechEffect
impl Unpin for TechEffect
impl UnwindSafe for TechEffect
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