#[repr(C)]
pub enum Shape {
Group(Box<Group>),
Shape2d(Shape2d),
Sweep(Sweep),
Transform(Box<Transform>),
}Expand description
A shape
Variants§
Group(Box<Group>)
A group of two 3-dimensional shapes
Shape2d(Shape2d)
A 2D shape
Sweep(Sweep)
A sweep of 2-dimensional shape along the z-axis
Transform(Box<Transform>)
A transformed 3-dimensional shape
Trait Implementations§
source§impl From<Difference2d> for Shape
impl From<Difference2d> for Shape
source§fn from(shape: Difference2d) -> Self
fn from(shape: Difference2d) -> Self
Converts to this type from the input type.
source§impl PartialEq<Shape> for Shape
impl PartialEq<Shape> for Shape
impl StructuralPartialEq for Shape
Auto Trait Implementations§
impl RefUnwindSafe for Shape
impl Send for Shape
impl Sync for Shape
impl Unpin for Shape
impl UnwindSafe for Shape
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