#[repr(u32)]pub enum Opcode {
Show 23 variants
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,
}
Expand description
Assembly. Lower level representation.
Variants§
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
Trait Implementations§
Source§impl TryFromPrimitive for Opcode
impl TryFromPrimitive for Opcode
impl Copy for Opcode
impl Eq for Opcode
impl StructuralPartialEq for Opcode
Auto Trait Implementations§
impl Freeze for Opcode
impl RefUnwindSafe for Opcode
impl Send for Opcode
impl Sync for Opcode
impl Unpin for Opcode
impl UnwindSafe for Opcode
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