pub enum LwKeyboardCase {
Lower,
Upper,
}
Expand description
Indicates which keyboard case is currently selected. The terminology used around the Lincoln Writer is very confusing because of the way the LW is designed. Specifically (per page 8 of “The Lincoln Writer”, Lincoln Laboratory Group Report 51-8):
The keyboard is actually two separate Soroban coding keyboards mounted on the same block. The lower keyboard contains the buttons for all the lower case characters and the typewriter functions. The upper board contains the buttons for upper case characters and a few special codes.
Variants§
Lower
Lower keyboard case (which contains capital letters)
Upper
Upper keyboard case (which contains small letters, Greek letters, etc.)
Implementations§
Trait Implementations§
Source§impl Clone for LwKeyboardCase
impl Clone for LwKeyboardCase
Source§fn clone(&self) -> LwKeyboardCase
fn clone(&self) -> LwKeyboardCase
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 LwKeyboardCase
impl Debug for LwKeyboardCase
Source§impl Ord for LwKeyboardCase
impl Ord for LwKeyboardCase
Source§fn cmp(&self, other: &LwKeyboardCase) -> Ordering
fn cmp(&self, other: &LwKeyboardCase) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LwKeyboardCase
impl PartialEq for LwKeyboardCase
Source§impl PartialOrd for LwKeyboardCase
impl PartialOrd for LwKeyboardCase
impl Copy for LwKeyboardCase
impl Eq for LwKeyboardCase
impl StructuralPartialEq for LwKeyboardCase
Auto Trait Implementations§
impl Freeze for LwKeyboardCase
impl RefUnwindSafe for LwKeyboardCase
impl Send for LwKeyboardCase
impl Sync for LwKeyboardCase
impl Unpin for LwKeyboardCase
impl UnwindSafe for LwKeyboardCase
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.