pub enum Nebula {
Show 189 variants
AquilaDarkRegion,
B133,
B352,
B92,
BarnardsLoop,
BlinkingNebula,
BlueFlashNebula,
BluePlanetaryNebula,
BlueSnowballNebula,
BowTieNebula,
BoxNebula,
BubbleNebula,
BugNebula,
ButterflyNebula,
CaliforniaNebula,
CatsEyeNebula,
CatsPawNebula,
CaveNebula,
CepheusDarkRegion,
Chamaeleon,
CoalsackDarkRegion,
CocoonNebula,
ConeNebula,
CoronaAustrDarkRegion,
CrabNebula,
CrescentNebula,
DumbbellNebula,
EagleNebula,
EightBurstNebula,
ElephantsTrunkNebula,
EtaCarinaNebula,
FetusNebula,
FineRingNebula,
FlameNebula,
FlamingStarNebula,
G2DustCloud,
GhostOfJupiter,
HeartNebula,
HelixNebula,
HindNebula,
HorseheadDarkRegion,
HorseheadNebula,
HubblesVariable,
Ic1287,
Ic1297,
Ic2149,
Ic2165,
Ic2448,
Ic2501,
Ic2553,
Ic2621,
Ic289,
Ic4191,
Ic4604,
Ic4634,
Ic4663,
Ic4673,
Ic4699,
Ic4776,
Ic4846,
Ic4997,
Ic5117,
Ic5148,
Ic5217,
IrisNebula,
JellyfishNebula,
LagoonNebula,
Lbn623,
LemonSliceNebula,
LittleDumbbellNebula,
LittleGemNebula,
LittleGhostNebula,
LupusDarkRegion,
LupusDarkRegionB,
Messier78,
MonkeyHeadNebula,
MuscaDarkRegion,
Ngc1333,
Ngc1360,
Ngc1491,
Ngc1501,
Ngc1514,
Ngc1535,
Ngc1931,
Ngc1999,
Ngc2022,
Ngc2371,
Ngc2392,
Ngc2438,
Ngc2440,
Ngc2452,
Ngc2792,
Ngc281,
Ngc2818,
Ngc2867,
Ngc2899,
Ngc3195,
Ngc3199,
Ngc3211,
Ngc3699,
Ngc4361,
Ngc5307,
Ngc5315,
Ngc5367,
Ngc5873,
Ngc5882,
Ngc5979,
Ngc6058,
Ngc6153,
Ngc6188,
Ngc6210,
Ngc6326,
Ngc6337,
Ngc6357,
Ngc6445,
Ngc6563,
Ngc6565,
Ngc6567,
Ngc6572,
Ngc6629,
Ngc6644,
Ngc6751,
Ngc6781,
Ngc6790,
Ngc6803,
Ngc6804,
Ngc6820,
Ngc6842,
Ngc6852,
Ngc6879,
Ngc6884,
Ngc6886,
Ngc6891,
Ngc7026,
Ngc7027,
Ngc7048,
Ngc7354,
Ngc7538,
Ngc7822,
NorthAmericaNebula,
OmegaNebula,
OphiuchusDarkRegion,
OphiuchusDarkRegionB,
OphiuchusDarkRegionC,
OrionDarkRegion,
OrionNebula,
OwlNebula,
ParrotsHead,
PelicanNebula,
PencilNebula,
PerseusDarkRegion,
PhantomStreak,
PipeBowl,
PipeStem,
Pleiades,
PuppisDarkRegion,
PuppisDarkRegionB,
RCra,
RedSpiderNebula,
RetinaNebula,
RhoOphiuchi,
RingNebula,
RosetteNebula,
RunningManNebula,
SadrRegion,
SaturnNebula,
ScorpiusDarkRegion,
ScutumDarkRegion,
SeagullNebula,
SkullAndCrossbonesNebula,
SkullNebula,
Snake,
SoulNebula,
SpiralPlanetaryNebula,
SpirographNebula,
StatueOfLibertyNebula,
StruvesLostNebula,
TaurusDarkRegion,
ThorsHelmet,
TrifidNebula,
TrifidOfTheNorth,
VeilNebulaEast,
VeilNebulaWest,
VelaDarkRegion,
VulpeculaDarkRegion,
WhiteEyedPea,
WitchHeadNebula,
FlyooGroaSOZE0,
EollsGraaeAAAH31,
}
Variants§
AquilaDarkRegion
B133
B352
B92
BarnardsLoop
BlinkingNebula
BlueFlashNebula
BluePlanetaryNebula
BlueSnowballNebula
BowTieNebula
BoxNebula
BubbleNebula
BugNebula
ButterflyNebula
CaliforniaNebula
CatsEyeNebula
CatsPawNebula
CaveNebula
CepheusDarkRegion
Chamaeleon
CoalsackDarkRegion
CocoonNebula
ConeNebula
CoronaAustrDarkRegion
CrabNebula
CrescentNebula
DumbbellNebula
EagleNebula
EightBurstNebula
ElephantsTrunkNebula
EtaCarinaNebula
FetusNebula
FineRingNebula
FlameNebula
FlamingStarNebula
G2DustCloud
GhostOfJupiter
HeartNebula
HelixNebula
HindNebula
HorseheadDarkRegion
HorseheadNebula
HubblesVariable
Ic1287
Ic1297
Ic2149
Ic2165
Ic2448
Ic2501
Ic2553
Ic2621
Ic289
Ic4191
Ic4604
Ic4634
Ic4663
Ic4673
Ic4699
Ic4776
Ic4846
Ic4997
Ic5117
Ic5148
Ic5217
IrisNebula
JellyfishNebula
LagoonNebula
Lbn623
LemonSliceNebula
LittleDumbbellNebula
LittleGemNebula
LittleGhostNebula
LupusDarkRegion
LupusDarkRegionB
Messier78
MonkeyHeadNebula
MuscaDarkRegion
Ngc1333
Ngc1360
Ngc1491
Ngc1501
Ngc1514
Ngc1535
Ngc1931
Ngc1999
Ngc2022
Ngc2371
Ngc2392
Ngc2438
Ngc2440
Ngc2452
Ngc2792
Ngc281
Ngc2818
Ngc2867
Ngc2899
Ngc3195
Ngc3199
Ngc3211
Ngc3699
Ngc4361
Ngc5307
Ngc5315
Ngc5367
Ngc5873
Ngc5882
Ngc5979
Ngc6058
Ngc6153
Ngc6188
Ngc6210
Ngc6326
Ngc6337
Ngc6357
Ngc6445
Ngc6563
Ngc6565
Ngc6567
Ngc6572
Ngc6629
Ngc6644
Ngc6751
Ngc6781
Ngc6790
Ngc6803
Ngc6804
Ngc6820
Ngc6842
Ngc6852
Ngc6879
Ngc6884
Ngc6886
Ngc6891
Ngc7026
Ngc7027
Ngc7048
Ngc7354
Ngc7538
Ngc7822
NorthAmericaNebula
OmegaNebula
OphiuchusDarkRegion
OphiuchusDarkRegionB
OphiuchusDarkRegionC
OrionDarkRegion
OrionNebula
OwlNebula
ParrotsHead
PelicanNebula
PencilNebula
PerseusDarkRegion
PhantomStreak
PipeBowl
PipeStem
Pleiades
PuppisDarkRegion
PuppisDarkRegionB
RCra
RedSpiderNebula
RetinaNebula
RhoOphiuchi
RingNebula
RosetteNebula
RunningManNebula
SadrRegion
SaturnNebula
ScorpiusDarkRegion
ScutumDarkRegion
SeagullNebula
SkullAndCrossbonesNebula
SkullNebula
Snake
SoulNebula
SpiralPlanetaryNebula
SpirographNebula
StatueOfLibertyNebula
StruvesLostNebula
TaurusDarkRegion
ThorsHelmet
TrifidNebula
TrifidOfTheNorth
VeilNebulaEast
VeilNebulaWest
VelaDarkRegion
VulpeculaDarkRegion
WhiteEyedPea
WitchHeadNebula
FlyooGroaSOZE0
EollsGraaeAAAH31
Implementations§
Source§impl Nebula
impl Nebula
pub fn center(&self) -> [f32; 3]
Sourcepub fn distance_to(&self, other: [f32; 3]) -> GalacticDistance
pub fn distance_to(&self, other: [f32; 3]) -> GalacticDistance
Calculates the distance to the given coordinates from the center of the nebula.
Sourcepub fn closest_to(pos: [f32; 3]) -> Nebula
pub fn closest_to(pos: [f32; 3]) -> Nebula
Calculates the closest nebula to the given coordinates.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Nebula
impl RefUnwindSafe for Nebula
impl Send for Nebula
impl Sync for Nebula
impl Unpin for Nebula
impl UnwindSafe for Nebula
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