[][src]Struct pbrt::textures::dots::DotsTexture

pub struct DotsTexture<T> {
    pub mapping: Box<TextureMapping2D>,
    pub outside_dot: Arc<dyn Texture<T> + Send + Sync>,
    pub inside_dot: Arc<dyn Texture<T> + Send + Sync>,
}

Fields

mapping: Box<TextureMapping2D>outside_dot: Arc<dyn Texture<T> + Send + Sync>inside_dot: Arc<dyn Texture<T> + Send + Sync>

Implementations

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

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

Trait Implementations

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

Auto Trait Implementations

impl<T> !RefUnwindSafe for DotsTexture<T>

impl<T> Send for DotsTexture<T>

impl<T> Sync for DotsTexture<T>

impl<T> Unpin for DotsTexture<T>

impl<T> !UnwindSafe for DotsTexture<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.