[][src]Struct tray_rust::bxdf::lambertian::Lambertian

pub struct Lambertian { /* fields omitted */ }

Lambertian BRDF that implements the Lambertian reflectance model

Methods

impl Lambertian[src]

pub fn new(c: &Colorf) -> Lambertian[src]

Create a new Lambertian BRDF with the desired reflective color property

Trait Implementations

impl BxDF for Lambertian[src]

impl Clone for Lambertian[src]

impl Copy for Lambertian[src]

impl Debug for Lambertian[src]

Auto Trait Implementations

impl Send for Lambertian

impl Sync for Lambertian

impl Unpin for Lambertian

impl UnwindSafe for Lambertian

impl RefUnwindSafe for Lambertian

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> SetParameter for T[src]