pub struct Layout {
pub format: RevealFormat,
pub group: usize,
pub row: usize,
pub parity: usize,
pub alphabet: String,
pub algorithm: String,
}Expand description
The shape a written value takes: what a sheet pre-prints and how a screen lays the characters out.
Fields§
§format: RevealFormatThe encoding.
group: usizeCharacters per group, for the eye.
row: usizeData characters in a full row.
parity: usizeParity characters closing every row; zero when there are none.
alphabet: StringWhat the characters can be, in words.
algorithm: StringWhat the encoding is called, in small print.
Implementations§
Trait Implementations§
impl Eq for Layout
impl StructuralPartialEq for Layout
Auto Trait Implementations§
impl Freeze for Layout
impl RefUnwindSafe for Layout
impl Send for Layout
impl Sync for Layout
impl Unpin for Layout
impl UnsafeUnpin for Layout
impl UnwindSafe for Layout
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.