pub enum ParticleFamily {
Lepton,
Quark,
GaugeBoson,
ScalarBoson,
Baryon,
Meson,
}Expand description
Broad family groupings for the supported particles.
Variants§
Lepton
Leptons such as electrons, muons, taus, and neutrinos.
Quark
Quarks and antiquarks.
GaugeBoson
Gauge bosons such as photons and gluons.
ScalarBoson
Scalar bosons such as the Higgs boson.
Baryon
Baryons such as protons and neutrons.
Meson
Mesons such as pions.
Trait Implementations§
Source§impl Clone for ParticleFamily
impl Clone for ParticleFamily
Source§fn clone(&self) -> ParticleFamily
fn clone(&self) -> ParticleFamily
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 ParticleFamily
impl Debug for ParticleFamily
Source§impl Hash for ParticleFamily
impl Hash for ParticleFamily
Source§impl PartialEq for ParticleFamily
impl PartialEq for ParticleFamily
Source§fn eq(&self, other: &ParticleFamily) -> bool
fn eq(&self, other: &ParticleFamily) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ParticleFamily
impl Eq for ParticleFamily
impl StructuralPartialEq for ParticleFamily
Auto Trait Implementations§
impl Freeze for ParticleFamily
impl RefUnwindSafe for ParticleFamily
impl Send for ParticleFamily
impl Sync for ParticleFamily
impl Unpin for ParticleFamily
impl UnsafeUnpin for ParticleFamily
impl UnwindSafe for ParticleFamily
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