pub struct Parts<'a> {
pub motor: &'a str,
pub supply: &'a str,
pub gearbox: &'a str,
pub drive: &'a str,
pub belt: &'a str,
pub axis: &'a str,
}Expand description
The parts a config names in [parts], “” for none: motor and its supply, gearbox, drive, belt and axis.
Fields§
§motor: &'a str§supply: &'a str§gearbox: &'a str§drive: &'a str§belt: &'a str§axis: &'a strImplementations§
Trait Implementations§
impl<'a> Copy for Parts<'a>
impl<'a> StructuralPartialEq for Parts<'a>
Auto Trait Implementations§
impl<'a> Freeze for Parts<'a>
impl<'a> RefUnwindSafe for Parts<'a>
impl<'a> Send for Parts<'a>
impl<'a> Sync for Parts<'a>
impl<'a> Unpin for Parts<'a>
impl<'a> UnsafeUnpin for Parts<'a>
impl<'a> UnwindSafe for Parts<'a>
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