Skip to main content

Ramp

Enum Ramp 

Source
pub enum Ramp {
    Ember,
    Ice,
    Ferroin,
    HAlpha,
    Aurora,
    Plasma,
    Starlight,
    Sulfur,
    Cobalt,
    Eosin,
    Sienna,
    Infrared,
}
Expand description

A named sequential ramp for Role::Ramp (CORE-R80, ADR-0015): one hue family each, near-black at level 0 and pale at 255, so field scenes keep their own identity under one theme. Named palettes are false colour; SPEC-002 says so where a scene uses one.

Variants§

§

Ember

Oxblood → scarlet → orange → pale gold: glowing matter, fire, plumes, growth age.

§

Ice

Navy → teal-blue → cyan → white: cold gas, frost, Cherenkov and young-star blue.

§

Ferroin

Wine → crimson → violet → azure: BZ ferroin (red, reduced) to ferriin (blue).

§

HAlpha

Crimson → rose → pale pink: emission nebulae (Hα 656 nm), prominences.

§

Aurora

Deep teal → emerald → lime-white: auroral O I 557.7 nm, fluorescence.

§

Plasma

Indigo → violet → lavender-white: discharges, lightning, synchrotron glow.

§

Starlight

Near-black → neutral grey → pale warm white: unresolved starlight, the nearly colourless integrated light of an old stellar population.

§

Sulfur

Near-black olive → chrome yellow → pale lemon: the plasmodium of Physarum polycephalum, sulfur and pollen yellows (a yellow that is not Ember’s orange).

§

Cobalt

Deep ultramarine → cobalt blue → pale silver-blue: cobalt glass and pigments, a cool precipitate (M12, liesegang_rings), a blue that is not Ice’s cyan.

§

Eosin

Wine-rose → eosin rose-pink → pale pink-lilac: the eosin of a histology stain, for patterns that read as tissue (M12, gray_scott), a rose that is neither Ferroin’s plum, Plasma’s violet nor HAlpha’s crimson.

§

Sienna

Dark sienna → rust → tan → cream: the ammonia-cloud belts and zones of Jupiter-family planets and Saturn’s butterscotch (M13), an earth tone far softer than Ember’s fire.

§

Infrared

Near-black → grey → cyan → green → yellow → orange → pale rose-white: a meteorological infrared enhancement curve (M13, hurricane) — warm surfaces stay grey, colder cloud tops step through colour, the coldest overshooting tops are palest.

Implementations§

Source§

impl Ramp

Source

pub const ALL: [Ramp; 12]

Every ramp, in declaration order.

Source

pub const fn name(self) -> &'static str

A unique lower-case name.

Trait Implementations§

Source§

impl Clone for Ramp

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for Ramp

Source§

impl Debug for Ramp

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for Ramp

Source§

impl Hash for Ramp

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for Ramp

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for Ramp

Auto Trait Implementations§

§

impl Forget for Ramp

§

impl Freeze for Ramp

§

impl Move for Ramp

§

impl RefUnwindSafe for Ramp

§

impl Send for Ramp

§

impl Sync for Ramp

§

impl Unpin for Ramp

§

impl UnsafeUnpin for Ramp

§

impl UnwindSafe for Ramp

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V