Struct rs_pbrt::textures::mix::MixTexture
source · pub struct MixTexture<T> {
pub tex1: Arc<dyn Texture<T> + Send + Sync>,
pub tex2: Arc<dyn Texture<T> + Send + Sync>,
pub amount: Arc<dyn Texture<Float> + Send + Sync>,
}
Fields§
§tex1: Arc<dyn Texture<T> + Send + Sync>
§tex2: Arc<dyn Texture<T> + Send + Sync>
§amount: Arc<dyn Texture<Float> + Send + Sync>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for MixTexture<T>
impl<T> Send for MixTexture<T>
impl<T> Sync for MixTexture<T>
impl<T> Unpin for MixTexture<T>
impl<T> !UnwindSafe for MixTexture<T>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more