pub enum CommandPetControl {
Sound,
Browser,
Window,
Select,
FocusAgents,
Appearance {
body: Option<CommandPetBodyStyle>,
language: Option<CommandPetTextLanguage>,
},
}Expand description
Pet presence, mode, sound and habitat actions for /pet.
The command owns the verb parsing and message composition; the facet only observes and mutates the pet state and resolves the localized labels.
Variants§
Sound
Browser
Window
Select
FocusAgents
Appearance
Body style and/or text language for /pet style|language.
Trait Implementations§
Source§impl Clone for CommandPetControl
impl Clone for CommandPetControl
impl Copy for CommandPetControl
Source§impl Debug for CommandPetControl
impl Debug for CommandPetControl
impl Eq for CommandPetControl
Source§impl PartialEq for CommandPetControl
impl PartialEq for CommandPetControl
impl StructuralPartialEq for CommandPetControl
Auto Trait Implementations§
impl Freeze for CommandPetControl
impl RefUnwindSafe for CommandPetControl
impl Send for CommandPetControl
impl Sync for CommandPetControl
impl Unpin for CommandPetControl
impl UnsafeUnpin for CommandPetControl
impl UnwindSafe for CommandPetControl
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,
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
Compare self to
key and return true if they are equal.