#[repr(u32)]pub enum Opcode {
Show 23 variants
Plane,
Sphere,
Capsule,
TaperedCapsule,
Material,
Union,
UnionSmooth,
Subtract,
SubtractSmooth,
Intersect,
IntersectSmooth,
PushTranslation,
PushRotation,
PopTransform,
PushScale,
PopScale,
End,
RoundedBox,
BiconvexLens,
RoundedCylinder,
Torus,
TorusSector,
Cone,
}Expand description
Assembly. Lower level representation.
Variants§
Plane
Sphere
Capsule
TaperedCapsule
Material
Union
UnionSmooth
Subtract
SubtractSmooth
Intersect
IntersectSmooth
PushTranslation
PushRotation
PopTransform
PushScale
PopScale
End
RoundedBox
BiconvexLens
RoundedCylinder
Torus
TorusSector
Cone
Trait Implementations§
source§impl PartialEq<Opcode> for Opcode
impl PartialEq<Opcode> for Opcode
impl Copy for Opcode
impl Eq for Opcode
impl StructuralEq for Opcode
impl StructuralPartialEq for Opcode
Auto Trait Implementations§
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