pub struct hb_ot_map_t {
found_script: [bool; 2],
chosen_script: [Option<Tag>; 2],
global_mask: u32,
features: Vec<feature_map_t>,
lookups: [Vec<lookup_map_t>; 2],
stages: [Vec<StageMap>; 2],
}
Fields§
§found_script: [bool; 2]
§chosen_script: [Option<Tag>; 2]
§global_mask: u32
§features: Vec<feature_map_t>
§lookups: [Vec<lookup_map_t>; 2]
§stages: [Vec<StageMap>; 2]
Implementations§
Source§impl hb_ot_map_t
impl hb_ot_map_t
pub const MAX_BITS: u32 = 8u32
pub const MAX_VALUE: u32 = 255u32
pub fn found_script(&self, table_index: TableIndex) -> bool
pub fn chosen_script(&self, table_index: TableIndex) -> Option<hb_tag_t>
pub fn get_global_mask(&self) -> u32
pub fn get_mask(&self, feature_tag: hb_tag_t) -> (u32, u32)
pub fn get_1_mask(&self, feature_tag: hb_tag_t) -> u32
pub fn get_feature_index( &self, table_index: TableIndex, feature_tag: hb_tag_t, ) -> Option<FeatureIndex>
pub fn get_feature_stage( &self, table_index: TableIndex, feature_tag: hb_tag_t, ) -> Option<usize>
pub fn stages(&self, table_index: TableIndex) -> &[StageMap]
pub fn lookup(&self, table_index: TableIndex, index: usize) -> &lookup_map_t
pub fn stage_lookups( &self, table_index: TableIndex, stage: usize, ) -> &[lookup_map_t]
pub fn stage_lookup_range( &self, table_index: TableIndex, stage: usize, ) -> Range<usize>
Auto Trait Implementations§
impl Freeze for hb_ot_map_t
impl RefUnwindSafe for hb_ot_map_t
impl Send for hb_ot_map_t
impl Sync for hb_ot_map_t
impl Unpin for hb_ot_map_t
impl UnwindSafe for hb_ot_map_t
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