[][src]Struct tray_rust::bxdf::fresnel::Conductor

pub struct Conductor {
    pub eta: Colorf,
    pub k: Colorf,
}

Computes the Fresnel term for conductive materials

Fields

eta: Colorf

Refractive index of the material being hit

k: Colorf

Absorption coefficient of the material being hit

Methods

impl Conductor[src]

pub fn new(eta: &Colorf, k: &Colorf) -> Conductor[src]

Create a new Conductor Fresnel term for the object. eta: refractive index of the material. k: absorption coefficient of the material.

Trait Implementations

impl Fresnel for Conductor[src]

impl Clone for Conductor[src]

impl Copy for Conductor[src]

impl Debug for Conductor[src]

Auto Trait Implementations

impl Send for Conductor

impl Sync for Conductor

impl Unpin for Conductor

impl UnwindSafe for Conductor

impl RefUnwindSafe for Conductor

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]