pub struct LatticeInput<'a> {
pub bytes: &'a [u8],
pub can_bow: &'a [u8],
pub char_categories: &'a [u32],
pub word_candidate_lengths: &'a [u32],
pub continuous_lengths: &'a [u32],
pub code_point_byte_lengths_flat: &'a [u8],
pub code_point_offsets: &'a [u32],
}Expand description
Pre-packed input text data for lattice construction.
Fields§
§bytes: &'a [u8]§can_bow: &'a [u8]§char_categories: &'a [u32]§word_candidate_lengths: &'a [u32]§continuous_lengths: &'a [u32]§code_point_byte_lengths_flat: &'a [u8]§code_point_offsets: &'a [u32]Auto Trait Implementations§
impl<'a> Freeze for LatticeInput<'a>
impl<'a> RefUnwindSafe for LatticeInput<'a>
impl<'a> Send for LatticeInput<'a>
impl<'a> Sync for LatticeInput<'a>
impl<'a> Unpin for LatticeInput<'a>
impl<'a> UnsafeUnpin for LatticeInput<'a>
impl<'a> UnwindSafe for LatticeInput<'a>
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