Typography
struct · ferroui-controls · v0.5.0
struct Typography
Selects named OpenType features through inherited attached properties.
Fonts supply the actual glyph substitutions and positioning. An unsupported
feature leaves the text as the font shapes it; no synthetic glyph or text
conversion is introduced. The existing raw FontFeatures collection is an
explicit final override layer and retains its original order and ranges.
Members
TYPEannotation_alternates_propertyeast_asian_expert_forms_propertyeast_asian_language_propertyeast_asian_widths_propertystandard_ligatures_propertycontextual_ligatures_propertydiscretionary_ligatures_propertyhistorical_ligatures_propertystandard_swashes_propertycontextual_swashes_propertycontextual_alternates_propertystylistic_alternates_propertystylistic_set1_propertystylistic_set2_propertystylistic_set3_propertystylistic_set4_propertystylistic_set5_propertystylistic_set6_propertystylistic_set7_propertystylistic_set8_propertystylistic_set9_propertystylistic_set10_propertystylistic_set11_propertystylistic_set12_propertystylistic_set13_propertystylistic_set14_propertystylistic_set15_propertystylistic_set16_propertystylistic_set17_propertystylistic_set18_propertystylistic_set19_propertystylistic_set20_propertycapitals_propertycapital_spacing_propertykerning_propertycase_sensitive_forms_propertyhistorical_forms_propertyfraction_propertynumeral_style_propertynumeral_alignment_propertyslashed_zero_propertymathematical_greek_propertyvariants_propertyget_annotation_alternatesset_annotation_alternatesget_east_asian_expert_formsset_east_asian_expert_formsget_east_asian_languageset_east_asian_languageget_east_asian_widthsset_east_asian_widthsget_standard_ligaturesset_standard_ligaturesget_contextual_ligaturesset_contextual_ligaturesget_discretionary_ligaturesset_discretionary_ligaturesget_historical_ligaturesset_historical_ligaturesget_standard_swashesset_standard_swashesget_contextual_swashesset_contextual_swashesget_contextual_alternatesset_contextual_alternatesget_stylistic_alternatesset_stylistic_alternatesget_stylistic_set1set_stylistic_set1get_stylistic_set2set_stylistic_set2get_stylistic_set3set_stylistic_set3get_stylistic_set4set_stylistic_set4get_stylistic_set5set_stylistic_set5get_stylistic_set6set_stylistic_set6get_stylistic_set7set_stylistic_set7get_stylistic_set8set_stylistic_set8get_stylistic_set9set_stylistic_set9get_stylistic_set10set_stylistic_set10get_stylistic_set11set_stylistic_set11get_stylistic_set12set_stylistic_set12get_stylistic_set13set_stylistic_set13get_stylistic_set14set_stylistic_set14get_stylistic_set15set_stylistic_set15get_stylistic_set16set_stylistic_set16get_stylistic_set17set_stylistic_set17get_stylistic_set18set_stylistic_set18get_stylistic_set19set_stylistic_set19get_stylistic_set20set_stylistic_set20get_capitalsset_capitalsget_capital_spacingset_capital_spacingget_kerningset_kerningget_case_sensitive_formsset_case_sensitive_formsget_historical_formsset_historical_formsget_fractionset_fractionget_numeral_styleset_numeral_styleget_numeral_alignmentset_numeral_alignmentget_slashed_zeroset_slashed_zeroget_mathematical_greekset_mathematical_greekget_variantsset_variantseffective_font_features
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this type.
annotation_alternates_property
fn annotation_alternates_property() -> &'static AttachedProperty<i32>
The inherited AnnotationAlternates property.
east_asian_expert_forms_property
fn east_asian_expert_forms_property() -> &'static AttachedProperty<bool>
The inherited EastAsianExpertForms property.
east_asian_language_property
fn east_asian_language_property() -> &'static AttachedProperty<FontEastAsianLanguage>
The inherited EastAsianLanguage property.
east_asian_widths_property
fn east_asian_widths_property() -> &'static AttachedProperty<FontEastAsianWidths>
The inherited EastAsianWidths property.
standard_ligatures_property
fn standard_ligatures_property() -> &'static AttachedProperty<bool>
The inherited StandardLigatures property.
contextual_ligatures_property
fn contextual_ligatures_property() -> &'static AttachedProperty<bool>
The inherited ContextualLigatures property.
discretionary_ligatures_property
fn discretionary_ligatures_property() -> &'static AttachedProperty<bool>
The inherited DiscretionaryLigatures property.
historical_ligatures_property
fn historical_ligatures_property() -> &'static AttachedProperty<bool>
The inherited HistoricalLigatures property.
standard_swashes_property
fn standard_swashes_property() -> &'static AttachedProperty<i32>
The inherited StandardSwashes property.
contextual_swashes_property
fn contextual_swashes_property() -> &'static AttachedProperty<i32>
The inherited ContextualSwashes property.
contextual_alternates_property
fn contextual_alternates_property() -> &'static AttachedProperty<bool>
The inherited ContextualAlternates property.
stylistic_alternates_property
fn stylistic_alternates_property() -> &'static AttachedProperty<i32>
The inherited StylisticAlternates property.
stylistic_set1_property
fn stylistic_set1_property() -> &'static AttachedProperty<bool>
The inherited StylisticSet1 property.
stylistic_set2_property
fn stylistic_set2_property() -> &'static AttachedProperty<bool>
The inherited StylisticSet2 property.
stylistic_set3_property
fn stylistic_set3_property() -> &'static AttachedProperty<bool>
The inherited StylisticSet3 property.
stylistic_set4_property
fn stylistic_set4_property() -> &'static AttachedProperty<bool>
The inherited StylisticSet4 property.
stylistic_set5_property
fn stylistic_set5_property() -> &'static AttachedProperty<bool>
The inherited StylisticSet5 property.
stylistic_set6_property
fn stylistic_set6_property() -> &'static AttachedProperty<bool>
The inherited StylisticSet6 property.
stylistic_set7_property
fn stylistic_set7_property() -> &'static AttachedProperty<bool>
The inherited StylisticSet7 property.
stylistic_set8_property
fn stylistic_set8_property() -> &'static AttachedProperty<bool>
The inherited StylisticSet8 property.
stylistic_set9_property
fn stylistic_set9_property() -> &'static AttachedProperty<bool>
The inherited StylisticSet9 property.
stylistic_set10_property
fn stylistic_set10_property() -> &'static AttachedProperty<bool>
The inherited StylisticSet10 property.
stylistic_set11_property
fn stylistic_set11_property() -> &'static AttachedProperty<bool>
The inherited StylisticSet11 property.
stylistic_set12_property
fn stylistic_set12_property() -> &'static AttachedProperty<bool>
The inherited StylisticSet12 property.
stylistic_set13_property
fn stylistic_set13_property() -> &'static AttachedProperty<bool>
The inherited StylisticSet13 property.
stylistic_set14_property
fn stylistic_set14_property() -> &'static AttachedProperty<bool>
The inherited StylisticSet14 property.
stylistic_set15_property
fn stylistic_set15_property() -> &'static AttachedProperty<bool>
The inherited StylisticSet15 property.
stylistic_set16_property
fn stylistic_set16_property() -> &'static AttachedProperty<bool>
The inherited StylisticSet16 property.
stylistic_set17_property
fn stylistic_set17_property() -> &'static AttachedProperty<bool>
The inherited StylisticSet17 property.
stylistic_set18_property
fn stylistic_set18_property() -> &'static AttachedProperty<bool>
The inherited StylisticSet18 property.
stylistic_set19_property
fn stylistic_set19_property() -> &'static AttachedProperty<bool>
The inherited StylisticSet19 property.
stylistic_set20_property
fn stylistic_set20_property() -> &'static AttachedProperty<bool>
The inherited StylisticSet20 property.
capitals_property
fn capitals_property() -> &'static AttachedProperty<FontCapitals>
The inherited Capitals property.
capital_spacing_property
fn capital_spacing_property() -> &'static AttachedProperty<bool>
The inherited CapitalSpacing property.
kerning_property
fn kerning_property() -> &'static AttachedProperty<bool>
The inherited Kerning property.
case_sensitive_forms_property
fn case_sensitive_forms_property() -> &'static AttachedProperty<bool>
The inherited CaseSensitiveForms property.
historical_forms_property
fn historical_forms_property() -> &'static AttachedProperty<bool>
The inherited HistoricalForms property.
fraction_property
fn fraction_property() -> &'static AttachedProperty<FontFraction>
The inherited Fraction property.
numeral_style_property
fn numeral_style_property() -> &'static AttachedProperty<FontNumeralStyle>
The inherited NumeralStyle property.
numeral_alignment_property
fn numeral_alignment_property() -> &'static AttachedProperty<FontNumeralAlignment>
The inherited NumeralAlignment property.
slashed_zero_property
fn slashed_zero_property() -> &'static AttachedProperty<bool>
The inherited SlashedZero property.
mathematical_greek_property
fn mathematical_greek_property() -> &'static AttachedProperty<bool>
The inherited MathematicalGreek property.
variants_property
fn variants_property() -> &'static AttachedProperty<FontVariants>
The inherited Variants property.
get_annotation_alternates
fn get_annotation_alternates(element: &FerroObject) -> i32
set_annotation_alternates
fn set_annotation_alternates(element: &FerroObject, value: i32)
get_east_asian_expert_forms
fn get_east_asian_expert_forms(element: &FerroObject) -> bool
set_east_asian_expert_forms
fn set_east_asian_expert_forms(element: &FerroObject, value: bool)
get_east_asian_language
fn get_east_asian_language(element: &FerroObject) -> FontEastAsianLanguage
set_east_asian_language
fn set_east_asian_language(element: &FerroObject, value: FontEastAsianLanguage)
get_east_asian_widths
fn get_east_asian_widths(element: &FerroObject) -> FontEastAsianWidths
set_east_asian_widths
fn set_east_asian_widths(element: &FerroObject, value: FontEastAsianWidths)
get_standard_ligatures
fn get_standard_ligatures(element: &FerroObject) -> bool
set_standard_ligatures
fn set_standard_ligatures(element: &FerroObject, value: bool)
get_contextual_ligatures
fn get_contextual_ligatures(element: &FerroObject) -> bool
set_contextual_ligatures
fn set_contextual_ligatures(element: &FerroObject, value: bool)
get_discretionary_ligatures
fn get_discretionary_ligatures(element: &FerroObject) -> bool
set_discretionary_ligatures
fn set_discretionary_ligatures(element: &FerroObject, value: bool)
get_historical_ligatures
fn get_historical_ligatures(element: &FerroObject) -> bool
set_historical_ligatures
fn set_historical_ligatures(element: &FerroObject, value: bool)
get_standard_swashes
fn get_standard_swashes(element: &FerroObject) -> i32
set_standard_swashes
fn set_standard_swashes(element: &FerroObject, value: i32)
get_contextual_swashes
fn get_contextual_swashes(element: &FerroObject) -> i32
set_contextual_swashes
fn set_contextual_swashes(element: &FerroObject, value: i32)
get_contextual_alternates
fn get_contextual_alternates(element: &FerroObject) -> bool
set_contextual_alternates
fn set_contextual_alternates(element: &FerroObject, value: bool)
get_stylistic_alternates
fn get_stylistic_alternates(element: &FerroObject) -> i32
set_stylistic_alternates
fn set_stylistic_alternates(element: &FerroObject, value: i32)
get_stylistic_set1
fn get_stylistic_set1(element: &FerroObject) -> bool
set_stylistic_set1
fn set_stylistic_set1(element: &FerroObject, value: bool)
get_stylistic_set2
fn get_stylistic_set2(element: &FerroObject) -> bool
set_stylistic_set2
fn set_stylistic_set2(element: &FerroObject, value: bool)
get_stylistic_set3
fn get_stylistic_set3(element: &FerroObject) -> bool
set_stylistic_set3
fn set_stylistic_set3(element: &FerroObject, value: bool)
get_stylistic_set4
fn get_stylistic_set4(element: &FerroObject) -> bool
set_stylistic_set4
fn set_stylistic_set4(element: &FerroObject, value: bool)
get_stylistic_set5
fn get_stylistic_set5(element: &FerroObject) -> bool
set_stylistic_set5
fn set_stylistic_set5(element: &FerroObject, value: bool)
get_stylistic_set6
fn get_stylistic_set6(element: &FerroObject) -> bool
set_stylistic_set6
fn set_stylistic_set6(element: &FerroObject, value: bool)
get_stylistic_set7
fn get_stylistic_set7(element: &FerroObject) -> bool
set_stylistic_set7
fn set_stylistic_set7(element: &FerroObject, value: bool)
get_stylistic_set8
fn get_stylistic_set8(element: &FerroObject) -> bool
set_stylistic_set8
fn set_stylistic_set8(element: &FerroObject, value: bool)
get_stylistic_set9
fn get_stylistic_set9(element: &FerroObject) -> bool
set_stylistic_set9
fn set_stylistic_set9(element: &FerroObject, value: bool)
get_stylistic_set10
fn get_stylistic_set10(element: &FerroObject) -> bool
set_stylistic_set10
fn set_stylistic_set10(element: &FerroObject, value: bool)
get_stylistic_set11
fn get_stylistic_set11(element: &FerroObject) -> bool
set_stylistic_set11
fn set_stylistic_set11(element: &FerroObject, value: bool)
get_stylistic_set12
fn get_stylistic_set12(element: &FerroObject) -> bool
set_stylistic_set12
fn set_stylistic_set12(element: &FerroObject, value: bool)
get_stylistic_set13
fn get_stylistic_set13(element: &FerroObject) -> bool
set_stylistic_set13
fn set_stylistic_set13(element: &FerroObject, value: bool)
get_stylistic_set14
fn get_stylistic_set14(element: &FerroObject) -> bool
set_stylistic_set14
fn set_stylistic_set14(element: &FerroObject, value: bool)
get_stylistic_set15
fn get_stylistic_set15(element: &FerroObject) -> bool
set_stylistic_set15
fn set_stylistic_set15(element: &FerroObject, value: bool)
get_stylistic_set16
fn get_stylistic_set16(element: &FerroObject) -> bool
set_stylistic_set16
fn set_stylistic_set16(element: &FerroObject, value: bool)
get_stylistic_set17
fn get_stylistic_set17(element: &FerroObject) -> bool
set_stylistic_set17
fn set_stylistic_set17(element: &FerroObject, value: bool)
get_stylistic_set18
fn get_stylistic_set18(element: &FerroObject) -> bool
set_stylistic_set18
fn set_stylistic_set18(element: &FerroObject, value: bool)
get_stylistic_set19
fn get_stylistic_set19(element: &FerroObject) -> bool
set_stylistic_set19
fn set_stylistic_set19(element: &FerroObject, value: bool)
get_stylistic_set20
fn get_stylistic_set20(element: &FerroObject) -> bool
set_stylistic_set20
fn set_stylistic_set20(element: &FerroObject, value: bool)
get_capitals
fn get_capitals(element: &FerroObject) -> FontCapitals
set_capitals
fn set_capitals(element: &FerroObject, value: FontCapitals)
get_capital_spacing
fn get_capital_spacing(element: &FerroObject) -> bool
set_capital_spacing
fn set_capital_spacing(element: &FerroObject, value: bool)
get_kerning
fn get_kerning(element: &FerroObject) -> bool
set_kerning
fn set_kerning(element: &FerroObject, value: bool)
get_case_sensitive_forms
fn get_case_sensitive_forms(element: &FerroObject) -> bool
set_case_sensitive_forms
fn set_case_sensitive_forms(element: &FerroObject, value: bool)
get_historical_forms
fn get_historical_forms(element: &FerroObject) -> bool
set_historical_forms
fn set_historical_forms(element: &FerroObject, value: bool)
get_fraction
fn get_fraction(element: &FerroObject) -> FontFraction
set_fraction
fn set_fraction(element: &FerroObject, value: FontFraction)
get_numeral_style
fn get_numeral_style(element: &FerroObject) -> FontNumeralStyle
set_numeral_style
fn set_numeral_style(element: &FerroObject, value: FontNumeralStyle)
get_numeral_alignment
fn get_numeral_alignment(element: &FerroObject) -> FontNumeralAlignment
set_numeral_alignment
fn set_numeral_alignment(element: &FerroObject, value: FontNumeralAlignment)
get_slashed_zero
fn get_slashed_zero(element: &FerroObject) -> bool
set_slashed_zero
fn set_slashed_zero(element: &FerroObject, value: bool)
get_mathematical_greek
fn get_mathematical_greek(element: &FerroObject) -> bool
set_mathematical_greek
fn set_mathematical_greek(element: &FerroObject, value: bool)
get_variants
fn get_variants(element: &FerroObject) -> FontVariants
set_variants
fn set_variants(element: &FerroObject, value: FontVariants)
effective_font_features
fn effective_font_features(element: &FerroObject) -> Option<FontFeatureCollection>
Resolves inherited typography before appending explicit font features. The assigned collection is not modified or retained by a derived collection.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEitherStaticTypeMarkupTyped
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.