pub struct RetainedStar {
pub icrf_dir: [f32; 3],
pub vmag: f32,
pub color: [f32; 4],
}Expand description
One real catalog star in J2000 ICRF celestial coordinates.
Fields§
§icrf_dir: [f32; 3]Unit direction vector in J2000 ICRF equatorial coordinates.
vmag: f32Apparent visual magnitude (Vmag; lower = brighter).
color: [f32; 4]Linear sRGB Planck blackbody color (r, g, b) + 1.0 alpha.
Trait Implementations§
Source§impl Clone for RetainedStar
impl Clone for RetainedStar
impl Copy for RetainedStar
Source§impl Debug for RetainedStar
impl Debug for RetainedStar
Source§impl PartialEq for RetainedStar
impl PartialEq for RetainedStar
impl StructuralPartialEq for RetainedStar
Auto Trait Implementations§
impl Forget for RetainedStar
impl Freeze for RetainedStar
impl Move for RetainedStar
impl RefUnwindSafe for RetainedStar
impl Send for RetainedStar
impl Sync for RetainedStar
impl Unpin for RetainedStar
impl UnsafeUnpin for RetainedStar
impl UnwindSafe for RetainedStar
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