pub struct Wheel {
pub centre: [f64; 2],
pub radius: f64,
}Expand description
A wheel the belt runs round, in the belt’s plane (x, z of the 3D view): its centre, and its radius signed by the sense the belt runs round it, + anticlockwise, - clockwise (seen from the front, x to the right, z up). A clamp is a wheel of radius 0.
Fields§
§centre: [f64; 2]§radius: f64Trait Implementations§
impl Copy for Wheel
impl StructuralPartialEq for Wheel
Auto Trait Implementations§
impl Freeze for Wheel
impl RefUnwindSafe for Wheel
impl Send for Wheel
impl Sync for Wheel
impl Unpin for Wheel
impl UnsafeUnpin for Wheel
impl UnwindSafe for Wheel
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