struct LigatureCtx<'a> {
table: &'a LigatureSubtable<'a>,
match_length: usize,
match_positions: [usize; 64],
}
Fields§
§table: &'a LigatureSubtable<'a>
§match_length: usize
§match_positions: [usize; 64]
Implementations§
Source§impl LigatureCtx<'_>
impl LigatureCtx<'_>
const SET_COMPONENT: u16 = 32_768u16
const DONT_ADVANCE: u16 = 16_384u16
const PERFORM_ACTION: u16 = 8_192u16
const LIG_ACTION_LAST: u32 = 2_147_483_648u32
const LIG_ACTION_STORE: u32 = 1_073_741_824u32
const LIG_ACTION_OFFSET: u32 = 1_073_741_823u32
Trait Implementations§
Source§impl driver_context_t<u16> for LigatureCtx<'_>
impl driver_context_t<u16> for LigatureCtx<'_>
fn in_place(&self) -> bool
fn can_advance(&self, entry: &GenericStateEntry<u16>) -> bool
fn is_actionable(&self, entry: &GenericStateEntry<u16>, _: &hb_buffer_t) -> bool
fn transition( &mut self, entry: &GenericStateEntry<u16>, buffer: &mut hb_buffer_t, ) -> Option<()>
Auto Trait Implementations§
impl<'a> Freeze for LigatureCtx<'a>
impl<'a> RefUnwindSafe for LigatureCtx<'a>
impl<'a> Send for LigatureCtx<'a>
impl<'a> Sync for LigatureCtx<'a>
impl<'a> Unpin for LigatureCtx<'a>
impl<'a> UnwindSafe for LigatureCtx<'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