pub struct NameTransition {
pub prefix: [u8; 4],
pub boundary: u8,
pub next_characters: u32,
}Expand description
One record of a name database: a four-character state and the letters that may follow it.
Fields§
§prefix: [u8; 4]Four ASCII bytes used as a transition lookup key; short personal-name prefixes are NUL padded.
boundary: u8Nonzero when the engine treats this prefix as a word boundary.
next_characters: u32Bits 0..25 permit a..z; bit 26 permits termination.
Trait Implementations§
Source§impl Clone for NameTransition
impl Clone for NameTransition
Source§fn clone(&self) -> NameTransition
fn clone(&self) -> NameTransition
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 moreimpl Copy for NameTransition
Auto Trait Implementations§
impl Freeze for NameTransition
impl RefUnwindSafe for NameTransition
impl Send for NameTransition
impl Sync for NameTransition
impl Unpin for NameTransition
impl UnsafeUnpin for NameTransition
impl UnwindSafe for NameTransition
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