Struct pbrt::core::medium::MediumInterface[][src]

pub struct MediumInterface {
    pub inside: Option<Arc<Medium>>,
    pub outside: Option<Arc<Medium>>,


inside: Option<Arc<Medium>>outside: Option<Arc<Medium>>


impl MediumInterface[src]

pub fn new(inside: Option<Arc<Medium>>, outside: Option<Arc<Medium>>) -> Self[src]

pub fn is_medium_transition(&self) -> bool[src]

pub fn get_inside(&self) -> Option<Arc<Medium>>[src]

pub fn get_outside(&self) -> Option<Arc<Medium>>[src]

Trait Implementations

impl Clone for MediumInterface[src]

impl Default for MediumInterface[src]

Auto Trait Implementations

impl RefUnwindSafe for MediumInterface[src]

impl Send for MediumInterface[src]

impl Sync for MediumInterface[src]

impl Unpin for MediumInterface[src]

impl UnwindSafe for MediumInterface[src]

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.