Skip to content

Commit

Permalink
Add some Copy derivations
Browse files Browse the repository at this point in the history
  • Loading branch information
jbangelo committed Jun 28, 2024
1 parent b93ea81 commit 5d8d080
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion swiftnav/src/coords.rs
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ impl Default for AzimuthElevation {
/// Complete coordinate used for transforming between reference frames
///
/// Velocities are optional, but when present they will be transformed
#[derive(Debug, PartialEq, PartialOrd, Clone)]
#[derive(Debug, PartialEq, PartialOrd, Clone, Copy)]
pub struct Coordinate {
reference_frame: ReferenceFrame,
position: ECEF,
Expand Down
4 changes: 2 additions & 2 deletions swiftnav/src/reference_frame.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ pub enum ReferenceFrame {
/// millimeters, the rotations are in milliarcseconds, and
/// the scaling is in parts per billion. We also follow the
/// IERS convention for the sign of the rotation terms.
#[derive(Debug, PartialEq, PartialOrd, Clone)]
#[derive(Debug, PartialEq, PartialOrd, Clone, Copy)]
struct TimeDependentHelmertParams {
tx: f64,
tx_dot: f64,
Expand Down Expand Up @@ -190,7 +190,7 @@ impl TimeDependentHelmertParams {
}

/// A transformation from one reference frame to another.
#[derive(Debug, PartialEq, PartialOrd, Clone)]
#[derive(Debug, PartialEq, PartialOrd, Clone, Copy)]
pub struct Transformation {
from: ReferenceFrame,
to: ReferenceFrame,
Expand Down

0 comments on commit 5d8d080

Please sign in to comment.