pub enum Roster {
System,
CurveFamily,
AttractorFamily,
IfsFigure,
SpectrumLayout,
Warp,
Deposit,
Palette,
LayerJoin,
LayerBlend,
Motif,
Tiling,
}Expand description
A closed roster of accepted spellings, named by the type that owns it.
The whole point of the indirection: a KeyKind::Roster(Roster::Warp) renders
Warp::ALL, so the export cannot list a warp the loader rejects or omit one
it accepts. Writing the strings here instead would be a second copy of every
roster in the engine.
Variants§
System
system — the built-in scenes.
CurveFamily
[curve] family.
AttractorFamily
[particles] family — the four maps plus every IFS figure.
IfsFigure
[particles] morph_to — the IFS figures alone.
SpectrumLayout
[spectrum] layout.
Warp
[feedback] warp.
Deposit
[feedback] blend.
Palette
[palette] name.
LayerJoin
[layer] join.
LayerBlend
[layer] blend.
Motif
[generator] rings motif.
Tiling
[generator] tiling.
Implementations§
Trait Implementations§
impl Copy for Roster
impl Eq for Roster
impl StructuralPartialEq for Roster
Auto Trait Implementations§
impl Freeze for Roster
impl RefUnwindSafe for Roster
impl Send for Roster
impl Sync for Roster
impl Unpin for Roster
impl UnsafeUnpin for Roster
impl UnwindSafe for Roster
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.