pub struct SubEvent {
pub weight: f64,
pub mu_r: f64,
pub mu_f: f64,
pub particles: Vec<Particle>,
pub reweight: Vec<Reweight>,
}
Fields§
§weight: f64
§mu_r: f64
§mu_f: f64
§particles: Vec<Particle>
§reweight: Vec<Reweight>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SubEvent
impl<'de> Deserialize<'de> for SubEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialOrd for SubEvent
impl PartialOrd for SubEvent
impl StructuralPartialEq for SubEvent
Auto Trait Implementations§
impl Freeze for SubEvent
impl RefUnwindSafe for SubEvent
impl Send for SubEvent
impl Sync for SubEvent
impl Unpin for SubEvent
impl UnwindSafe for SubEvent
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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