Enum fj::Shape2d [−][src]
#[repr(C)]
pub enum Shape2d {
Circle(Circle),
Difference(Box<Difference>),
Rectangle(Rectangle),
}
Expand description
A 2-dimensional shape
Variants
Circle(Circle)
Tuple Fields
0: Circle
A circle
Difference(Box<Difference>)
Tuple Fields
0: Box<Difference>
A difference between two shapes
Rectangle(Rectangle)
Tuple Fields
0: Rectangle
A rectangle
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Shape2d
impl UnwindSafe for Shape2d
Blanket Implementations
Mutably borrows from an owned value. Read more