pub struct TextSystem { /* private fields */ }Implementations§
Source§impl<'a> TextSystem
impl<'a> TextSystem
pub fn new() -> TextSystem
pub fn add_text_to_entity( &mut self, entity: &Entity, transformation_system: &TransformationSystem, renderer: &mut Renderer<'a>, initial_data: TextBuilder<'a>, )
pub fn remove_text_from_entity(&mut self, entity: &Entity)
pub fn entity_has_text(&self, entity: &Entity) -> bool
pub fn set_tint_color(&mut self, entity: &Entity, color: Vec4<f32>)
pub fn set_text(&mut self, entity: &Entity, text: &str)
pub fn draw_all( &self, entity_manager: &EntityManager, transformation_system: &TransformationSystem, renderer: &mut Renderer<'_>, )
Auto Trait Implementations§
impl Freeze for TextSystem
impl RefUnwindSafe for TextSystem
impl Send for TextSystem
impl Sync for TextSystem
impl Unpin for TextSystem
impl UnsafeUnpin for TextSystem
impl UnwindSafe for TextSystem
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more