pub enum P4Component {
E,
Px,
Py,
Pz,
}Expand description
A named component of a four-momentum in (E, px, py, pz) order.
Variants§
E
Energy.
Px
Momentum in the x direction.
Py
Momentum in the y direction.
Pz
Momentum in the z direction.
Implementations§
Trait Implementations§
Source§impl Clone for P4Component
impl Clone for P4Component
Source§fn clone(&self) -> P4Component
fn clone(&self) -> P4Component
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 P4Component
Source§impl Debug for P4Component
impl Debug for P4Component
Source§impl<'de> Deserialize<'de> for P4Component
impl<'de> Deserialize<'de> for P4Component
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
impl Eq for P4Component
Source§impl Hash for P4Component
impl Hash for P4Component
Source§impl PartialEq for P4Component
impl PartialEq for P4Component
Source§impl Serialize for P4Component
impl Serialize for P4Component
impl StructuralPartialEq for P4Component
Auto Trait Implementations§
impl Freeze for P4Component
impl RefUnwindSafe for P4Component
impl Send for P4Component
impl Sync for P4Component
impl Unpin for P4Component
impl UnsafeUnpin for P4Component
impl UnwindSafe for P4Component
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