pub struct TextManager { /* private fields */ }Expand description
Implementations§
Source§impl TextManager
impl TextManager
Sourcepub fn new() -> TextManager
pub fn new() -> TextManager
Creates an empty text buffer.
Sourcepub fn update(&mut self, provider: &dyn SimpleTextProvider)
pub fn update(&mut self, provider: &dyn SimpleTextProvider)
Appends characters from provider to the end of the buffer.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextManager
impl RefUnwindSafe for TextManager
impl Send for TextManager
impl Sync for TextManager
impl Unpin for TextManager
impl UnsafeUnpin for TextManager
impl UnwindSafe for TextManager
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