pub enum VocabularyRef {
Day {
day: String,
},
Time {
hour: u64,
minute: u64,
},
Press {
digit: u64,
},
Taken,
}Expand description
What a vocabulary ref means — so the side that renders it can look up the words without re-deriving the ref format.
Variants§
Trait Implementations§
Source§impl Clone for VocabularyRef
impl Clone for VocabularyRef
Source§fn clone(&self) -> VocabularyRef
fn clone(&self) -> VocabularyRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VocabularyRef
impl Debug for VocabularyRef
impl Eq for VocabularyRef
Source§impl PartialEq for VocabularyRef
impl PartialEq for VocabularyRef
impl StructuralPartialEq for VocabularyRef
Auto Trait Implementations§
impl Freeze for VocabularyRef
impl RefUnwindSafe for VocabularyRef
impl Send for VocabularyRef
impl Sync for VocabularyRef
impl Unpin for VocabularyRef
impl UnsafeUnpin for VocabularyRef
impl UnwindSafe for VocabularyRef
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.