pub struct LookFunctions {
look_matches: [Option<FunctionIdx>; 18],
}
Expand description
TODO: Write docs for this item
Fields§
§look_matches: [Option<FunctionIdx>; 18]
Implementations§
Source§impl LookFunctions
impl LookFunctions
const NUM_LOOKS: usize = 18usize
Sourcepub fn new(
ctx: &mut CompileContext,
layout: &LookLayout,
) -> Result<Self, BuildError>
pub fn new( ctx: &mut CompileContext, layout: &LookLayout, ) -> Result<Self, BuildError>
TODO: Write docs for this item
Sourcepub fn look_matcher(&self, look: Look) -> Option<FunctionIdx>
pub fn look_matcher(&self, look: Look) -> Option<FunctionIdx>
TODO: Write docs for item
fn is_start_fn() -> FunctionDefinition
fn is_end_fn() -> FunctionDefinition
fn is_start_lf_fn(look_matcher: &LookMatcher) -> FunctionDefinition
fn is_end_lf_fn(look_matcher: &LookMatcher) -> FunctionDefinition
fn is_start_crlf_fn() -> FunctionDefinition
fn is_end_crlf_fn() -> FunctionDefinition
fn is_word_ascii_fn(is_word_byte_table: &IsWordByteTable) -> FunctionDefinition
fn is_word_ascii_negate_fn(is_word_ascii: FunctionIdx) -> FunctionDefinition
fn is_word_start_ascii_fn( is_word_byte_table: &IsWordByteTable, ) -> FunctionDefinition
fn is_word_end_ascii_fn( is_word_byte_table: &IsWordByteTable, ) -> FunctionDefinition
fn is_word_start_half_ascii_fn( is_word_byte_table: &IsWordByteTable, ) -> FunctionDefinition
fn is_word_end_half_ascii_fn( is_word_byte_table: &IsWordByteTable, ) -> FunctionDefinition
fn word_before_ascii_instructions( instructions: &mut InstructionSink<'_>, is_word_byte_table: &IsWordByteTable, )
fn word_after_ascii_instructions( instructions: &mut InstructionSink<'_>, is_word_byte_table: &IsWordByteTable, )
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LookFunctions
impl RefUnwindSafe for LookFunctions
impl Send for LookFunctions
impl Sync for LookFunctions
impl Unpin for LookFunctions
impl UnwindSafe for LookFunctions
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