pub trait Background: Store {
// Required method
fn source(cache: &mut HashSet<u64>) -> String;
}
Expand description
Background of the scene.
It defines that happens to the ray is it hasn’t hit any object in the scene.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.