pub enum HatchState {
Egg,
Crack1,
Crack2,
Breaking,
Hatched,
Connecting,
Awakened {
identity: String,
},
}Expand description
Animation states for the hatching sequence
Variants§
Egg
Crack1
Crack2
Breaking
Hatched
Connecting
Waiting for model response
Awakened
Model generated identity
Implementations§
Trait Implementations§
Source§impl Clone for HatchState
impl Clone for HatchState
Source§fn clone(&self) -> HatchState
fn clone(&self) -> HatchState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HatchState
impl Debug for HatchState
Source§impl Default for HatchState
impl Default for HatchState
Source§fn default() -> HatchState
fn default() -> HatchState
Returns the “default value” for a type. Read more
Source§impl PartialEq for HatchState
impl PartialEq for HatchState
impl StructuralPartialEq for HatchState
Auto Trait Implementations§
impl Freeze for HatchState
impl RefUnwindSafe for HatchState
impl Send for HatchState
impl Sync for HatchState
impl Unpin for HatchState
impl UnsafeUnpin for HatchState
impl UnwindSafe for HatchState
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