pub struct ScaleTexture<T> {
pub tex1: Arc<dyn Texture<T> + Send + Sync>,
pub tex2: Arc<dyn Texture<T> + Send + Sync>,
}
Fields
tex1: Arc<dyn Texture<T> + Send + Sync>
tex2: Arc<dyn Texture<T> + Send + Sync>
Implementations
Trait Implementations
sourceimpl<T: Copy> Texture<T> for ScaleTexture<T> where
T: Mul<Output = T>,
impl<T: Copy> Texture<T> for ScaleTexture<T> where
T: Mul<Output = T>,
fn evaluate(&self, si: &SurfaceInteraction<'_>) -> T
Auto Trait Implementations
impl<T> !RefUnwindSafe for ScaleTexture<T>
impl<T> Send for ScaleTexture<T>
impl<T> Sync for ScaleTexture<T>
impl<T> Unpin for ScaleTexture<T>
impl<T> !UnwindSafe for ScaleTexture<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more