@@ -216,7 +216,7 @@ where
216216}
217217
218218#[ derive( Debug , Clone ) ]
219- pub struct SSOBuilder < ' a , T : TimeScale + Copy , P : TryOffset < T , Ut1 > + TryOffset < T , Tdb > > {
219+ pub struct SsoBuilder < ' a , T : TimeScale + Copy , P : TryOffset < T , Ut1 > + TryOffset < T , Tdb > > {
220220 time : Time < T > ,
221221 semi_major_axis : Option < SemiMajorAxis > ,
222222 eccentricity : Result < Eccentricity , NegativeEccentricityError > ,
@@ -226,7 +226,7 @@ pub struct SSOBuilder<'a, T: TimeScale + Copy, P: TryOffset<T, Ut1> + TryOffset<
226226 provider : Option < & ' a P > ,
227227}
228228
229- impl < ' a > SSOBuilder < ' a , Tai , DefaultOffsetProvider > {
229+ impl < ' a > SsoBuilder < ' a , Tai , DefaultOffsetProvider > {
230230 pub fn new ( ) -> Self {
231231 Self {
232232 time : Time :: default ( ) ,
@@ -240,22 +240,22 @@ impl<'a> SSOBuilder<'a, Tai, DefaultOffsetProvider> {
240240 }
241241}
242242
243- impl < ' a > Default for SSOBuilder < ' a , Tai , DefaultOffsetProvider > {
243+ impl < ' a > Default for SsoBuilder < ' a , Tai , DefaultOffsetProvider > {
244244 fn default ( ) -> Self {
245245 Self :: new ( )
246246 }
247247}
248248
249- impl < ' a , T , U > SSOBuilder < ' a , T , U >
249+ impl < ' a , T , U > SsoBuilder < ' a , T , U >
250250where
251251 T : TimeScale + Copy ,
252252 U : TryOffset < T , Ut1 > + TryOffset < T , Tdb > ,
253253{
254- pub fn with_provider < P > ( self , provider : & ' a P ) -> SSOBuilder < ' a , T , P >
254+ pub fn with_provider < P > ( self , provider : & ' a P ) -> SsoBuilder < ' a , T , P >
255255 where
256256 P : TryOffset < T , Ut1 > + TryOffset < T , Tdb > ,
257257 {
258- SSOBuilder {
258+ SsoBuilder {
259259 time : self . time ,
260260 semi_major_axis : self . semi_major_axis ,
261261 eccentricity : self . eccentricity ,
@@ -267,16 +267,16 @@ where
267267 }
268268}
269269
270- impl < ' a , S , P > SSOBuilder < ' a , S , P >
270+ impl < ' a , S , P > SsoBuilder < ' a , S , P >
271271where
272272 S : TimeScale + Copy ,
273273 P : TryOffset < S , Ut1 > + TryOffset < S , Tdb > ,
274274{
275- pub fn with_time < T : TimeScale + Copy > ( self , time : Time < T > ) -> SSOBuilder < ' a , T , P >
275+ pub fn with_time < T : TimeScale + Copy > ( self , time : Time < T > ) -> SsoBuilder < ' a , T , P >
276276 where
277277 P : TryOffset < T , Ut1 > + TryOffset < T , Tdb > ,
278278 {
279- SSOBuilder {
279+ SsoBuilder {
280280 time,
281281 semi_major_axis : self . semi_major_axis ,
282282 eccentricity : self . eccentricity ,
@@ -288,7 +288,7 @@ where
288288 }
289289}
290290
291- impl < ' a , T , P > SSOBuilder < ' a , T , P >
291+ impl < ' a , T , P > SsoBuilder < ' a , T , P >
292292where
293293 T : TimeScale + Copy ,
294294 P : TryOffset < T , Ut1 > + TryOffset < T , Tdb > ,
@@ -426,7 +426,7 @@ mod tests {
426426 let exp_node = LongitudeOfAscendingNode :: try_new ( 350.5997 . deg ( ) ) . unwrap ( ) ;
427427 let exp_inc = Inclination :: try_new ( 98.627 . deg ( ) ) . unwrap ( ) ;
428428
429- let sso = SSOBuilder :: default ( )
429+ let sso = SsoBuilder :: default ( )
430430 . with_provider ( eop_provider ( ) )
431431 . with_semi_major_axis ( semi_major_axis)
432432 . with_eccentricity ( Eccentricity :: default ( ) . as_f64 ( ) )
@@ -441,7 +441,7 @@ mod tests {
441441 assert_approx_eq ! ( act_node, exp_node, rtol <= 4e-3 ) ;
442442
443443 let altitude = semi_major_axis - Earth . equatorial_radius ( ) . km ( ) ;
444- let sso = SSOBuilder :: default ( )
444+ let sso = SsoBuilder :: default ( )
445445 . with_provider ( eop_provider ( ) )
446446 . with_altitude ( altitude)
447447 . with_time ( epoch)
0 commit comments