pub struct LincolnState {
pub script: Script,
pub case: LwKeyboardCase,
pub colour: Colour,
}
Fields§
§script: Script
§case: LwKeyboardCase
§colour: Colour
Implementations§
Source§impl LincolnState
impl LincolnState
Sourcefn on_carriage_return(&mut self)
fn on_carriage_return(&mut self)
CARRIAGE RETURN also has the side effect of setting the “keyboard” to lower case (i.e. capital letters!) and “normal script”. This statement appears in the description if the Lincoln Writer in the Users Handbook (page 4-37 and again on 4-41). The document explicitly states that a write of this code (from the TX-2 to the Lincoln Writer) also affects the state of the keyboard. On page 4-41 the document also states that carriage return written by the TX-2 to the Lincoln Writer has the same effect.
Page 8 of “The Lincoln Writer” (Lincoln Laboratory Group Report 51-8) points out that the “lower case” has the capital letters on it.
XXX: both of the previous two statements describe the TX2->LW direction, re-check the documentation for what happens in the other direction.
Trait Implementations§
Source§impl Clone for LincolnState
impl Clone for LincolnState
Source§fn clone(&self) -> LincolnState
fn clone(&self) -> LincolnState
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for LincolnState
impl Debug for LincolnState
Source§impl Default for LincolnState
impl Default for LincolnState
Source§impl From<&LincolnState> for LincolnStateTextInfo
impl From<&LincolnState> for LincolnStateTextInfo
Source§fn from(state: &LincolnState) -> LincolnStateTextInfo
fn from(state: &LincolnState) -> LincolnStateTextInfo
Source§impl PartialEq for LincolnState
impl PartialEq for LincolnState
impl Copy for LincolnState
impl Eq for LincolnState
impl StructuralPartialEq for LincolnState
Auto Trait Implementations§
impl Freeze for LincolnState
impl RefUnwindSafe for LincolnState
impl Send for LincolnState
impl Sync for LincolnState
impl Unpin for LincolnState
impl UnwindSafe for LincolnState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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
§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
key
and return true
if they are equal.