pub enum ParticleType {
Particle,
Antiparticle,
SelfConjugate,
}Expand description
Particle/antiparticle relationship encoded by the PDG particle table.
Variants§
Particle
Particle entry.
Antiparticle
Antiparticle entry.
SelfConjugate
Self-conjugate particle entry.
Implementations§
Trait Implementations§
Source§impl Clone for ParticleType
impl Clone for ParticleType
Source§fn clone(&self) -> ParticleType
fn clone(&self) -> ParticleType
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 moreimpl Copy for ParticleType
Source§impl Debug for ParticleType
impl Debug for ParticleType
Source§impl Display for ParticleType
impl Display for ParticleType
impl Eq for ParticleType
Source§impl FromSql for ParticleType
impl FromSql for ParticleType
Source§fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
Converts SQLite value into Rust value.
Source§impl PartialEq for ParticleType
impl PartialEq for ParticleType
Source§fn eq(&self, other: &ParticleType) -> bool
fn eq(&self, other: &ParticleType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParticleType
Auto Trait Implementations§
impl Freeze for ParticleType
impl RefUnwindSafe for ParticleType
impl Send for ParticleType
impl Sync for ParticleType
impl Unpin for ParticleType
impl UnsafeUnpin for ParticleType
impl UnwindSafe for ParticleType
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