struct Effect {
source: EffectSource,
count: usize,
}
Fields§
§source: EffectSource
§count: usize
Number of created effect’s handles.
Implementations§
Methods from Deref<Target = EffectSource>§
pub(super) fn combine_base_effects( &mut self, ticks: Ticks, actor_pos: [f32; 3], ) -> Magnitude
pub(super) fn flush_completion_events(&mut self) -> Vec<Event>
Trait Implementations§
source§impl From<EffectSource> for Effect
impl From<EffectSource> for Effect
source§fn from(source: EffectSource) -> Self
fn from(source: EffectSource) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Effect
impl RefUnwindSafe for Effect
impl Send for Effect
impl Sync for Effect
impl Unpin for Effect
impl UnwindSafe for Effect
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