pub trait ITMP_SpriteGlyphMethods: ITMP_SpriteGlyph {
// Provided methods
fn ctor(self) { ... }
fn ctor_2(
self,
index: impl Into<u32>,
metrics: impl Into<GlyphMetrics>,
glyph_rect: impl Into<GlyphRect>,
scale: impl Into<f32>,
atlas_index: impl Into<i32>,
) { ... }
fn ctor_3(
self,
index: impl Into<u32>,
metrics: impl Into<GlyphMetrics>,
glyph_rect: impl Into<GlyphRect>,
scale: impl Into<f32>,
atlas_index: impl Into<i32>,
sprite: impl Into<Sprite>,
) { ... }
}Provided Methods§
Sourcefn ctor_2(
self,
index: impl Into<u32>,
metrics: impl Into<GlyphMetrics>,
glyph_rect: impl Into<GlyphRect>,
scale: impl Into<f32>,
atlas_index: impl Into<i32>,
)
fn ctor_2( self, index: impl Into<u32>, metrics: impl Into<GlyphMetrics>, glyph_rect: impl Into<GlyphRect>, scale: impl Into<f32>, atlas_index: impl Into<i32>, )
.ctor(u32, crate::unity_engine::text_core::glyphmetrics::GlyphMetrics, crate::unity_engine::text_core::glyphrect::GlyphRect, f32, i32) overload
Sourcefn ctor_3(
self,
index: impl Into<u32>,
metrics: impl Into<GlyphMetrics>,
glyph_rect: impl Into<GlyphRect>,
scale: impl Into<f32>,
atlas_index: impl Into<i32>,
sprite: impl Into<Sprite>,
)
fn ctor_3( self, index: impl Into<u32>, metrics: impl Into<GlyphMetrics>, glyph_rect: impl Into<GlyphRect>, scale: impl Into<f32>, atlas_index: impl Into<i32>, sprite: impl Into<Sprite>, )
.ctor(u32, crate::unity_engine::text_core::glyphmetrics::GlyphMetrics, crate::unity_engine::text_core::glyphrect::GlyphRect, f32, i32, crate::unity_engine::sprite::Sprite) 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: ITMP_SpriteGlyph> ITMP_SpriteGlyphMethods for __T
Available on crate feature
tm_pro-tmp_spriteglyph only.