#[non_exhaustive]pub enum OrbState {
Working,
Searching,
Solving,
Listening,
Connecting,
Weaving,
Composing,
Breathing,
Shaping,
Focusing,
Reasoning,
Recalling,
}Expand description
The twelve shipped states — each a hand-tuned animation.
Marked #[non_exhaustive]: matching on this from another crate needs a
wildcard arm, so shipping a tenth state is not a breaking change. Prefer
OrbState::label / OrbState::as_str over matching where you can.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Working
Particles on tilted orbits.
Searching
A scan meridian sweeps a dotted globe.
Solving
Bands scramble in quarter turns, then click back.
Listening
A waveform rolls through latitude rings.
Connecting
A constellation wires itself, packets running the edges.
Weaving
Three strands plait around the sphere.
Composing
An undulating multi-band sash.
Breathing
A face-on ring slowly morphing.
Shaping
A dotted outline morphs circle → triangle → square.
Focusing
An iris of particles converges and relaxes around a focal point.
Reasoning
Counter-rotating great circles form a reasoning gyroscope.
Recalling
Concentric memory echoes travel out from a steady core.
Implementations§
Source§impl OrbState
impl OrbState
Sourcepub const ALL_STATES: &'static [OrbState]
pub const ALL_STATES: &'static [OrbState]
All states in playground / gallery order.
This is a slice so adding future states does not change its public type.
Sourcepub const ALL: [OrbState; 9]
👎Deprecated since 0.2.0: use OrbState::ALL_STATES
pub const ALL: [OrbState; 9]
use OrbState::ALL_STATES
The original nine-state gallery.
Kept at its original array type for source compatibility. New code
should iterate Self::ALL_STATES.
Trait Implementations§
impl Copy for OrbState
impl Eq for OrbState
impl StructuralPartialEq for OrbState
Auto Trait Implementations§
impl Freeze for OrbState
impl RefUnwindSafe for OrbState
impl Send for OrbState
impl Sync for OrbState
impl Unpin for OrbState
impl UnsafeUnpin for OrbState
impl UnwindSafe for OrbState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
ReadEndian::read_from_little_endian().