pub struct SectionNode {
pub id: String,
pub key: String,
pub length: f64,
pub axes: Vec<f64>,
pub pulleys: Vec<f64>,
pub route: Vec<Waypoint>,
pub plane: Option<[usize; 3]>,
}Fields§
§id: String§key: String§length: f64§axes: Vec<f64>Per axis, and per motor (the pulley that motor turns).
pulleys: Vec<f64>§route: Vec<Waypoint>The 3D view’s way of the section, empty for the default.
plane: Option<[usize; 3]>The plane its belt runs in (plane), as the scene’s coordinates [along, up, depth]: x-z [0, 2, 1], x-y
[0, 1, 2], y-z [1, 2, 0]; None for the default.
Auto Trait Implementations§
impl Freeze for SectionNode
impl RefUnwindSafe for SectionNode
impl Send for SectionNode
impl Sync for SectionNode
impl Unpin for SectionNode
impl UnsafeUnpin for SectionNode
impl UnwindSafe for SectionNode
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