pub struct Lambertian {
pub albedo: Color,
}
Fields§
§albedo: Color
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Lambertian
impl RefUnwindSafe for Lambertian
impl Send for Lambertian
impl Sync for Lambertian
impl Unpin for Lambertian
impl UnwindSafe for Lambertian
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