pub trait IKerningPairMethods: IKerningPair {
// Provided methods
fn get_first_glyph(self) -> u32 { ... }
fn set_first_glyph(self, value: impl Into<u32>) { ... }
fn get_first_glyph_adjustments(self) -> GlyphValueRecord_Legacy { ... }
fn get_second_glyph(self) -> u32 { ... }
fn set_second_glyph(self, value: impl Into<u32>) { ... }
fn get_second_glyph_adjustments(self) -> GlyphValueRecord_Legacy { ... }
fn get_ignore_spacing_adjustments(self) -> bool { ... }
fn ctor(self) { ... }
fn ctor_2(
self,
left: impl Into<u32>,
right: impl Into<u32>,
offset: impl Into<f32>,
) { ... }
fn ctor_3(
self,
first_glyph: impl Into<u32>,
first_glyph_adjustments: impl Into<GlyphValueRecord_Legacy>,
second_glyph: impl Into<u32>,
second_glyph_adjustments: impl Into<GlyphValueRecord_Legacy>,
) { ... }
fn convert_legacy_kerning_data(self) { ... }
}Provided Methods§
Sourcefn get_first_glyph(self) -> u32
fn get_first_glyph(self) -> u32
get_firstGlyph() overload
Sourcefn set_first_glyph(self, value: impl Into<u32>)
fn set_first_glyph(self, value: impl Into<u32>)
set_firstGlyph(u32) overload
Sourcefn get_first_glyph_adjustments(self) -> GlyphValueRecord_Legacy
fn get_first_glyph_adjustments(self) -> GlyphValueRecord_Legacy
get_firstGlyphAdjustments() overload
Sourcefn get_second_glyph(self) -> u32
fn get_second_glyph(self) -> u32
get_secondGlyph() overload
Sourcefn set_second_glyph(self, value: impl Into<u32>)
fn set_second_glyph(self, value: impl Into<u32>)
set_secondGlyph(u32) overload
Sourcefn get_second_glyph_adjustments(self) -> GlyphValueRecord_Legacy
fn get_second_glyph_adjustments(self) -> GlyphValueRecord_Legacy
get_secondGlyphAdjustments() overload
Sourcefn get_ignore_spacing_adjustments(self) -> bool
fn get_ignore_spacing_adjustments(self) -> bool
get_ignoreSpacingAdjustments() overload
Sourcefn ctor_2(
self,
left: impl Into<u32>,
right: impl Into<u32>,
offset: impl Into<f32>,
)
fn ctor_2( self, left: impl Into<u32>, right: impl Into<u32>, offset: impl Into<f32>, )
.ctor(u32, u32, f32) overload
Sourcefn ctor_3(
self,
first_glyph: impl Into<u32>,
first_glyph_adjustments: impl Into<GlyphValueRecord_Legacy>,
second_glyph: impl Into<u32>,
second_glyph_adjustments: impl Into<GlyphValueRecord_Legacy>,
)
fn ctor_3( self, first_glyph: impl Into<u32>, first_glyph_adjustments: impl Into<GlyphValueRecord_Legacy>, second_glyph: impl Into<u32>, second_glyph_adjustments: impl Into<GlyphValueRecord_Legacy>, )
.ctor(u32, crate::tm_pro::glyphvaluerecord_legacy::GlyphValueRecord_Legacy, u32, crate::tm_pro::glyphvaluerecord_legacy::GlyphValueRecord_Legacy) overload
Sourcefn convert_legacy_kerning_data(self)
fn convert_legacy_kerning_data(self)
ConvertLegacyKerningData() overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IKerningPair> IKerningPairMethods for __T
Available on crate feature
tm_pro-kerningpair only.