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


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


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

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

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.