Skip to main content

IKerningPairMethods

Trait IKerningPairMethods 

Source
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§

Source

fn get_first_glyph(self) -> u32

get_firstGlyph() overload

Source

fn set_first_glyph(self, value: impl Into<u32>)

set_firstGlyph(u32) overload

Source

fn get_first_glyph_adjustments(self) -> GlyphValueRecord_Legacy

get_firstGlyphAdjustments() overload

Source

fn get_second_glyph(self) -> u32

get_secondGlyph() overload

Source

fn set_second_glyph(self, value: impl Into<u32>)

set_secondGlyph(u32) overload

Source

fn get_second_glyph_adjustments(self) -> GlyphValueRecord_Legacy

get_secondGlyphAdjustments() overload

Source

fn get_ignore_spacing_adjustments(self) -> bool

get_ignoreSpacingAdjustments() overload

Source

fn ctor(self)

.ctor() overload

Source

fn ctor_2( self, left: impl Into<u32>, right: impl Into<u32>, offset: impl Into<f32>, )

.ctor(u32, u32, f32) overload

Source

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

Source

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§

Source§

impl<__T: IKerningPair> IKerningPairMethods for __T

Available on crate feature tm_pro-kerningpair only.