Enum ray_tracing_utility::serialization::RayTracingObject [−][src]
pub enum RayTracingObject {
Show 32 variants
None,
Configuration(Configuration),
Camera(Camera),
CameraVerticalField(CameraVerticalField),
CameraLookAt(CameraLookAt),
Sky(Sky),
ConstantTexture(ConstantTexture),
BitmapFile(BitmapFile),
CheckerTexture(CheckerTexture),
BlendTexture(BlendTexture),
NoiseTexture(NoiseTexture),
ColorFilter(ColorFilter),
NoMaterial(NoMaterial),
MaterialBlend(MaterialBlend),
Dielectric(Dielectric),
DiffuseLight(DiffuseLight),
Isotropic(Isotropic),
Metal(Metal),
Lambertian(Lambertian),
Collection(Collection),
Sphere(Sphere),
MovableSphere(MovableSphere),
XYRect(XYRect),
XZRect(XZRect),
YZRect(YZRect),
Cuboid(Cuboid),
FlipNormals(FlipNormals),
RotateX(RotateX),
RotateY(RotateY),
RotateZ(RotateZ),
Translate(Translate),
ConstantMedium(ConstantMedium),
}
Variants
Configuration(Configuration)
Tuple Fields of Configuration
Camera(Camera)
Tuple Fields of Camera
0: Camera
CameraVerticalField(CameraVerticalField)
Tuple Fields of CameraVerticalField
CameraLookAt(CameraLookAt)
Tuple Fields of CameraLookAt
0: CameraLookAt
Sky(Sky)
Tuple Fields of Sky
0: Sky
ConstantTexture(ConstantTexture)
Tuple Fields of ConstantTexture
BitmapFile(BitmapFile)
Tuple Fields of BitmapFile
0: BitmapFile
CheckerTexture(CheckerTexture)
Tuple Fields of CheckerTexture
BlendTexture(BlendTexture)
Tuple Fields of BlendTexture
0: BlendTexture
NoiseTexture(NoiseTexture)
Tuple Fields of NoiseTexture
0: NoiseTexture
ColorFilter(ColorFilter)
Tuple Fields of ColorFilter
0: ColorFilter
NoMaterial(NoMaterial)
Tuple Fields of NoMaterial
0: NoMaterial
MaterialBlend(MaterialBlend)
Tuple Fields of MaterialBlend
Dielectric(Dielectric)
Tuple Fields of Dielectric
0: Dielectric
DiffuseLight(DiffuseLight)
Tuple Fields of DiffuseLight
0: DiffuseLight
Isotropic(Isotropic)
Tuple Fields of Isotropic
0: Isotropic
Metal(Metal)
Tuple Fields of Metal
0: Metal
Lambertian(Lambertian)
Tuple Fields of Lambertian
0: Lambertian
Collection(Collection)
Tuple Fields of Collection
0: Collection
Sphere(Sphere)
Tuple Fields of Sphere
0: Sphere
MovableSphere(MovableSphere)
Tuple Fields of MovableSphere
XYRect(XYRect)
Tuple Fields of XYRect
0: XYRect
XZRect(XZRect)
Tuple Fields of XZRect
0: XZRect
YZRect(YZRect)
Tuple Fields of YZRect
0: YZRect
Cuboid(Cuboid)
Tuple Fields of Cuboid
0: Cuboid
FlipNormals(FlipNormals)
Tuple Fields of FlipNormals
0: FlipNormals
RotateX(RotateX)
Tuple Fields of RotateX
0: RotateX
RotateY(RotateY)
Tuple Fields of RotateY
0: RotateY
RotateZ(RotateZ)
Tuple Fields of RotateZ
0: RotateZ
Translate(Translate)
Tuple Fields of Translate
0: Translate
ConstantMedium(ConstantMedium)
Tuple Fields of ConstantMedium
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RayTracingObject
impl Send for RayTracingObject
impl Sync for RayTracingObject
impl Unpin for RayTracingObject
impl UnwindSafe for RayTracingObject
Blanket Implementations
Mutably borrows from an owned value. Read more