[][src]Struct pbrt::textures::checkerboard::Checkerboard2DTexture

pub struct Checkerboard2DTexture<T> {
    pub tex1: Arc<dyn Texture<T> + Send + Sync>,
    pub tex2: Arc<dyn Texture<T> + Send + Sync>,
    pub mapping: Box<TextureMapping2D>,
}

Fields

tex1: Arc<dyn Texture<T> + Send + Sync>tex2: Arc<dyn Texture<T> + Send + Sync>mapping: Box<TextureMapping2D>

Implementations

impl<T: Copy> Checkerboard2DTexture<T>[src]

pub fn new(
    mapping: Box<TextureMapping2D>,
    tex1: Arc<dyn Texture<T> + Send + Sync>,
    tex2: Arc<dyn Texture<T> + Send + Sync>
) -> Self
[src]

Trait Implementations

impl<T: Copy> Texture<T> for Checkerboard2DTexture<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for Checkerboard2DTexture<T>

impl<T> Send for Checkerboard2DTexture<T>

impl<T> Sync for Checkerboard2DTexture<T>

impl<T> Unpin for Checkerboard2DTexture<T>

impl<T> !UnwindSafe for Checkerboard2DTexture<T>

Blanket Implementations

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

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

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

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

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

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.