[][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>,


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


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

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

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, 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.