pub struct BranchingFraction<'pdg> {
pub pdgid: PdgId,
pub description: String,
pub mode_number: Option<u32>,
pub value: DataEntry<'pdg>,
pub kind: BranchingFractionKind,
pub products: Vec<DecayProduct<'pdg>>,
pub related_data: Vec<RelatedDataEntry<'pdg>>,
}Expand description
Branching-fraction data for a particle decay mode.
Fields§
§pdgid: PdgIdPDG identifier for the branching-fraction row.
description: StringHuman-readable decay description.
mode_number: Option<u32>PDG mode number, when available.
value: DataEntry<'pdg>Numeric value for the branching fraction.
kind: BranchingFractionKindExclusive or inclusive branching-fraction kind.
products: Vec<DecayProduct<'pdg>>Decay products attached to the branching-fraction row.
Other data rows mapped to this branching-fraction row.
Implementations§
Source§impl BranchingFraction<'_>
impl BranchingFraction<'_>
Sourcepub fn measurements(&self) -> PdgResult<Vec<PdgMeasurement>>
pub fn measurements(&self) -> PdgResult<Vec<PdgMeasurement>>
Loads measurements supporting this branching fraction.
§Errors
Returns a database error if the measurement query fails.
Trait Implementations§
Source§impl<'pdg> Clone for BranchingFraction<'pdg>
impl<'pdg> Clone for BranchingFraction<'pdg>
Source§fn clone(&self) -> BranchingFraction<'pdg>
fn clone(&self) -> BranchingFraction<'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 BranchingFraction<'pdg>
impl<'pdg> !Send for BranchingFraction<'pdg>
impl<'pdg> !Sync for BranchingFraction<'pdg>
impl<'pdg> !UnwindSafe for BranchingFraction<'pdg>
impl<'pdg> Freeze for BranchingFraction<'pdg>
impl<'pdg> Unpin for BranchingFraction<'pdg>
impl<'pdg> UnsafeUnpin for BranchingFraction<'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