[][src]Struct pineappl::grid::Ntuple

pub struct Ntuple<W> {
    pub x1: f64,
    pub x2: f64,
    pub q2: f64,
    pub weight: W,
}

This structure represents a position (x1, x2, q2) in a Subgrid together with a corresponding weight. The type W can either be a f64 or (), which is used when multiple weights should be signaled.

Fields

x1: f64

Momentum fraction of the first parton.

x2: f64

Momentum fraction of the second parton.

q2: f64

Squared scale.

weight: W

Weight of this entry.

Trait Implementations

impl<W: Clone> Clone for Ntuple<W>[src]

impl<W: Debug> Debug for Ntuple<W>[src]

impl<'de, W> Deserialize<'de> for Ntuple<W> where
    W: Deserialize<'de>, 
[src]

impl<W: PartialEq> PartialEq<Ntuple<W>> for Ntuple<W>[src]

impl<W> Serialize for Ntuple<W> where
    W: Serialize
[src]

impl<W> StructuralPartialEq for Ntuple<W>[src]

Auto Trait Implementations

impl<W> RefUnwindSafe for Ntuple<W> where
    W: RefUnwindSafe

impl<W> Send for Ntuple<W> where
    W: Send

impl<W> Sync for Ntuple<W> where
    W: Sync

impl<W> Unpin for Ntuple<W> where
    W: Unpin

impl<W> UnwindSafe for Ntuple<W> where
    W: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.