pub struct HittableList {
pub objects: Vec<Box<dyn Hittable>>,
}Expand description
A collection of Hittable objects tested together.
Fields§
§objects: Vec<Box<dyn Hittable>>The list of hittable objects.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HittableList
impl !RefUnwindSafe for HittableList
impl !Send for HittableList
impl !Sync for HittableList
impl Unpin for HittableList
impl !UnwindSafe for HittableList
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