#[derive(Copy, Clone, Eq, PartialEq)]
#[cfg_attr(
feature = "with_opcode_derives",
derive(Debug, Hash, num_enum::IntoPrimitive, num_enum::TryFromPrimitive)
)]
#[cfg_attr(feature = "with_serde", derive(serde::Serialize, serde::Deserialize))]
#[cfg_attr(feature = "with_speedy", derive(speedy::Writable, speedy::Readable))]
#[cfg_attr(feature = "with_arbitrary", derive(arbitrary::Arbitrary))]
#[repr(u32)]
pub enum Opcode {
Plane = 0, Sphere = 1, Capsule = 2, TaperedCapsule = 3,
Material = 4,
Union = 5,
UnionSmooth = 6,
Subtract = 7,
SubtractSmooth = 8,
Intersect = 9,
IntersectSmooth = 10,
PushTranslation = 11,
PushRotation = 12,
PopTransform = 13,
PushScale = 14,
PopScale = 15,
End = 16,
RoundedBox = 17, BiconvexLens = 18, RoundedCylinder = 19, Torus = 20, TorusSector = 21, Cone = 22, }