#[non_exhaustive]pub enum Surface {
Plane(Plane),
Cylinder(Cylinder),
EllipticalCylinder(EllipticalCylinder),
Cone(Cone),
Sphere(Sphere),
Torus(Torus),
BSpline(BSplineSurface),
}Expand description
Atomic three-dimensional surface values.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Plane(Plane)
Plane.
Cylinder(Cylinder)
Circular cylinder.
EllipticalCylinder(EllipticalCylinder)
Elliptical cylinder.
Cone(Cone)
Right circular cone.
Sphere(Sphere)
Sphere.
Torus(Torus)
Torus.
BSpline(BSplineSurface)
Polynomial or rational B-spline surface.
Trait Implementations§
impl StructuralPartialEq for Surface
Auto Trait Implementations§
impl Freeze for Surface
impl RefUnwindSafe for Surface
impl Send for Surface
impl Sync for Surface
impl Unpin for Surface
impl UnsafeUnpin for Surface
impl UnwindSafe for Surface
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