pub struct TrackingElement {
pub name: String,
pub instrument_type: InstrumentType,
pub position: [f32; 3],
pub quaternion: [f32; 4],
}
Expand description
Tracking data element with name, type, position and quaternion
Fields§
§name: String
Name/ID of the instrument/tracker (max 20 chars)
instrument_type: InstrumentType
Type of instrument
position: [f32; 3]
Position (x, y, z) in millimeters
quaternion: [f32; 4]
Orientation as quaternion (qx, qy, qz, w)
Implementations§
Trait Implementations§
Source§impl Clone for TrackingElement
impl Clone for TrackingElement
Source§fn clone(&self) -> TrackingElement
fn clone(&self) -> TrackingElement
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TrackingElement
impl Debug for TrackingElement
Source§impl PartialEq for TrackingElement
impl PartialEq for TrackingElement
impl StructuralPartialEq for TrackingElement
Auto Trait Implementations§
impl Freeze for TrackingElement
impl RefUnwindSafe for TrackingElement
impl Send for TrackingElement
impl Sync for TrackingElement
impl Unpin for TrackingElement
impl UnwindSafe for TrackingElement
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