pub enum Twist {
Helical {
turn: f64,
},
Herringbone {
turn: f64,
},
}Expand description
The turn of a twisted prism’s section along its height: theta(t) at
t = z / width in [0, 1], with an optional crease at t = 1/2 (a
herringbone’s apex).
Variants§
Helical
theta = turn · t (a helical gear: a screw motion).
Herringbone
theta = turn · (1/2 − |t − 1/2|): out by turn / 2 to the middle and back.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Twist
impl Freeze for Twist
impl Move for Twist
impl RefUnwindSafe for Twist
impl Send for Twist
impl Sync for Twist
impl Unpin for Twist
impl UnsafeUnpin for Twist
impl UnwindSafe for Twist
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