pub struct Placement {
pub position: [F; 3],
pub orientation: [Angle; 3],
}Expand description
Fixed-molecule placement: translation + Euler orientation.
Fields§
§position: [F; 3]Translation vector [x, y, z].
orientation: [Angle; 3]Euler rotations around x / y / z in the eulerfixed convention,
stored as Angle triples.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Placement
impl RefUnwindSafe for Placement
impl Send for Placement
impl Sync for Placement
impl Unpin for Placement
impl UnsafeUnpin for Placement
impl UnwindSafe for Placement
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