pub struct ParticleProperty<'pdg> {
pub data_type: DataType,
pub value: DataEntry<'pdg>,
pub source: PropertySource,
}Expand description
Particle property value and its provenance.
Fields§
§data_type: DataTypeData type for the property.
value: DataEntry<'pdg>Data value for the property.
source: PropertySourceWhere the property was found.
Trait Implementations§
Source§impl<'pdg> Clone for ParticleProperty<'pdg>
impl<'pdg> Clone for ParticleProperty<'pdg>
Source§fn clone(&self) -> ParticleProperty<'pdg>
fn clone(&self) -> ParticleProperty<'pdg>
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 moreAuto Trait Implementations§
impl<'pdg> !RefUnwindSafe for ParticleProperty<'pdg>
impl<'pdg> !Send for ParticleProperty<'pdg>
impl<'pdg> !Sync for ParticleProperty<'pdg>
impl<'pdg> !UnwindSafe for ParticleProperty<'pdg>
impl<'pdg> Freeze for ParticleProperty<'pdg>
impl<'pdg> Unpin for ParticleProperty<'pdg>
impl<'pdg> UnsafeUnpin for ParticleProperty<'pdg>
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