diff --git a/src/colour/photon.rs b/src/colour/photon.rs index 299c005..b2732c3 100644 --- a/src/colour/photon.rs +++ b/src/colour/photon.rs @@ -1,4 +1,5 @@ /// A quantum of light with a given wavelength and intensity +#[derive(Clone, Default, Debug)] pub struct Photon { /// The wavelength in nanometres pub wavelength: f64,