pub struct NameCache {Show 32 fields
pub n_def: NameId,
pub n_true: NameId,
pub n_false: NameId,
pub n_null: NameId,
pub n_mark: NameId,
pub n_font_name: NameId,
pub n_font_type: NameId,
pub n_font_matrix: NameId,
pub n_font_bbox: NameId,
pub n_encoding: NameId,
pub n_char_strings: NameId,
pub n_private: NameId,
pub n_fid: NameId,
pub n_paint_type: NameId,
pub n_subrs: NameId,
pub n_len_iv: NameId,
pub n_notdef: NameId,
pub n_metrics: NameId,
pub n_font_directory: NameId,
pub n_find_resource: NameId,
pub n_define_resource: NameId,
pub n_undef_resource: NameId,
pub n_resource_status: NameId,
pub n_resource_for_all: NameId,
pub n_category: NameId,
pub n_instance_type: NameId,
pub n_resource_dir: NameId,
pub n_resource_ext: NameId,
pub n_build_char: NameId,
pub n_build_glyph: NameId,
pub n_stroke_width: NameId,
pub n_wmode: NameId,
}Expand description
Pre-interned NameIds for frequently-used names in hot paths.
Fields§
§n_def: NameId§n_true: NameId§n_false: NameId§n_null: NameId§n_mark: NameId§n_font_name: NameId§n_font_type: NameId§n_font_matrix: NameId§n_font_bbox: NameId§n_encoding: NameId§n_char_strings: NameId§n_private: NameId§n_fid: NameId§n_paint_type: NameId§n_subrs: NameId§n_len_iv: NameId§n_notdef: NameId§n_metrics: NameId§n_font_directory: NameId§n_find_resource: NameId§n_define_resource: NameId§n_undef_resource: NameId§n_resource_status: NameId§n_resource_for_all: NameId§n_category: NameId§n_instance_type: NameId§n_resource_dir: NameId§n_resource_ext: NameId§n_build_char: NameId§n_build_glyph: NameId§n_stroke_width: NameId§n_wmode: NameIdAuto Trait Implementations§
impl Freeze for NameCache
impl RefUnwindSafe for NameCache
impl Send for NameCache
impl Sync for NameCache
impl Unpin for NameCache
impl UnsafeUnpin for NameCache
impl UnwindSafe for NameCache
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