pub struct Arrow {
pub pos: [f64; 3],
pub force: [f64; 3],
pub owner_key: &'static str,
}Expand description
A force that acts at a place in the machine, drawn as an arrow: on what (owner_key, a translation key)
and how much, in newtons, along the scene’s axes.
Fields§
§pos: [f64; 3]§force: [f64; 3]§owner_key: &'static strTrait Implementations§
impl StructuralPartialEq for Arrow
Auto Trait Implementations§
impl Freeze for Arrow
impl RefUnwindSafe for Arrow
impl Send for Arrow
impl Sync for Arrow
impl Unpin for Arrow
impl UnsafeUnpin for Arrow
impl UnwindSafe for Arrow
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