pub enum Piece<'a> {
Point(Point3),
Curve {
curve: &'a Curve3,
span: Interval,
},
Patch {
surface: &'a Surface,
lo: Point2,
hi: Point2,
},
}Expand description
One piece of geometry.
Variants§
Point(Point3)
A point.
Curve
A curve over a span of its parameter.
Patch
A surface over a box of its parameters.
Trait Implementations§
impl<'a> Copy for Piece<'a>
Auto Trait Implementations§
impl<'a> Freeze for Piece<'a>
impl<'a> RefUnwindSafe for Piece<'a>
impl<'a> Send for Piece<'a>
impl<'a> Sync for Piece<'a>
impl<'a> Unpin for Piece<'a>
impl<'a> UnwindSafe for Piece<'a>
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