pub enum Orb {
Cluster,
Ring,
Converge,
Bloom,
}Expand description
Which orb to draw. All four share one period, one tint and one box, and differ only in how the circles are arranged and what the phase moves.
A parameter rather than four functions, for the reason crate::input::Shape
is one: they are the same operation, and the thing that differs is an
argument.
Variants§
Cluster
Blobs whose sizes swing so the count you perceive changes, drifting far enough to merge and separate. The one a thinking surface should reach for.
Ring
Dots on a circle, brightness chasing round — the classic, with a real circle instead of the mini spinner’s 2×3 grid.
Converge
Dots gathering to a single point and opening back out to the ring.
Bloom
Rings leaving the centre and fading before the edge. The only one that travels outward, which is what makes it read as a signal rather than a wait.
Trait Implementations§
impl Copy for Orb
impl Eq for Orb
impl StructuralPartialEq for Orb
Auto Trait Implementations§
impl Freeze for Orb
impl RefUnwindSafe for Orb
impl Send for Orb
impl Sync for Orb
impl Unpin for Orb
impl UnsafeUnpin for Orb
impl UnwindSafe for Orb
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 more