pub trait Material { // Required method fn scatter( &self, ray: Ray, rec: HitRecord<'_>, rng: &mut ThreadRng, ) -> Option<(Color, Ray)>; }