pub enum RoundProfile {
Elliptical,
Conic {
rho: f64,
},
}Expand description
The section of a round set back a different distance on each face.
Variants§
Elliptical
The ellipse tangent to each face at its distance: with equal distances, the circular round.
Conic
The conic tangent to each face at its distance whose middle stands
the share rho of the way from the chord between the contacts to
the edge: near 0 a bevel, 0.5 a parabola, near 1 the sharp edge.
Trait Implementations§
Source§impl Clone for RoundProfile
impl Clone for RoundProfile
impl Copy for RoundProfile
Source§impl Debug for RoundProfile
impl Debug for RoundProfile
Source§impl Default for RoundProfile
impl Default for RoundProfile
Source§impl<'de> Deserialize<'de> for RoundProfile
impl<'de> Deserialize<'de> for RoundProfile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RoundProfile
impl PartialEq for RoundProfile
Source§impl Serialize for RoundProfile
impl Serialize for RoundProfile
impl StructuralPartialEq for RoundProfile
Auto Trait Implementations§
impl Forget for RoundProfile
impl Freeze for RoundProfile
impl Move for RoundProfile
impl RefUnwindSafe for RoundProfile
impl Send for RoundProfile
impl Sync for RoundProfile
impl Unpin for RoundProfile
impl UnsafeUnpin for RoundProfile
impl UnwindSafe for RoundProfile
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