pub enum RefitCarrier {
Plane {
origin: Vec3,
normal: Vec3,
},
Cylinder {
axis_origin: Vec3,
axis: Vec3,
radius: f64,
},
Cone {
apex: Vec3,
axis: Vec3,
half_angle: f64,
},
Sphere {
center: Vec3,
radius: f64,
},
Torus {
center: Vec3,
axis: Vec3,
major_radius: f64,
minor_radius: f64,
},
}Expand description
The fitted surface, in the recognition pass’s terms.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RefitCarrier
impl Clone for RefitCarrier
Source§fn clone(&self) -> RefitCarrier
fn clone(&self) -> RefitCarrier
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RefitCarrier
Source§impl Debug for RefitCarrier
impl Debug for RefitCarrier
Source§impl Serialize for RefitCarrier
impl Serialize for RefitCarrier
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Forget for RefitCarrier
impl Freeze for RefitCarrier
impl Move for RefitCarrier
impl RefUnwindSafe for RefitCarrier
impl Send for RefitCarrier
impl Sync for RefitCarrier
impl Unpin for RefitCarrier
impl UnsafeUnpin for RefitCarrier
impl UnwindSafe for RefitCarrier
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