pub enum SimulationParticleFilter {
Default,
Single(ParticleID),
}Expand description
Particles affected by a statement block
Variants§
Default
Statement block only affects the default particle
Single(ParticleID)
Statement blocks affects a single particle
Auto Trait Implementations§
impl Freeze for SimulationParticleFilter
impl RefUnwindSafe for SimulationParticleFilter
impl Send for SimulationParticleFilter
impl Sync for SimulationParticleFilter
impl Unpin for SimulationParticleFilter
impl UnwindSafe for SimulationParticleFilter
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more