[][src]Struct bevy_text::FontAtlasSet

pub struct FontAtlasSet { /* fields omitted */ }

Implementations

impl FontAtlasSet[src]

pub fn new(font: Handle<Font>) -> Self[src]

pub fn iter(&self) -> impl Iterator<Item = (&FloatOrd, &Vec<FontAtlas>)>[src]

pub fn has_char(&self, character: char, font_size: f32) -> bool[src]

pub fn add_glyphs_to_atlas(
    &mut self,
    fonts: &Assets<Font>,
    texture_atlases: &mut Assets<TextureAtlas>,
    textures: &mut Assets<Texture>,
    font_size: f32,
    text: &str
) -> Option<f32>
[src]

pub fn get_glyph_atlas_info(
    &self,
    font_size: f32,
    character: char
) -> Option<GlyphAtlasInfo>
[src]

Trait Implementations

impl Default for FontAtlasSet[src]

impl TypeUuid for FontAtlasSet[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Asset for T where
    T: TypeUuid + AssetDynamic + TypeUuidDynamic
[src]

impl<T> AssetDynamic for T where
    T: Send + Sync + 'static + TypeUuidDynamic
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Component for T where
    T: 'static + Send + Sync

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<T> From<T> for T[src]

impl<T> FromResources for T where
    T: Default

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Resource for T where
    T: 'static + Send + Sync

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> TypeUuidDynamic for T where
    T: TypeUuid
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,