pub struct Terminal<D: DrawTarget> { /* private fields */ }
Implementations§
Source§impl<D: DrawTarget> Terminal<D>
impl<D: DrawTarget> Terminal<D>
Source§impl<D: DrawTarget> Terminal<D>
impl<D: DrawTarget> Terminal<D>
pub fn set_auto_flush(&mut self, auto_flush: bool)
pub fn set_logger(&mut self, logger: Option<fn(_: Arguments<'_>)>)
pub fn set_bell_handler(&mut self, handler: Option<fn()>)
pub fn set_font_manager(&mut self, font_manager: Box<dyn FontManager>)
pub fn set_history_size(&mut self, size: usize)
pub fn set_color_scheme(&mut self, palette_index: usize)
pub fn set_custom_color_scheme(&mut self, palette: Palette)
Trait Implementations§
Auto Trait Implementations§
impl<D> Freeze for Terminal<D>where
D: Freeze,
impl<D> RefUnwindSafe for Terminal<D>where
D: RefUnwindSafe,
impl<D> Send for Terminal<D>where
D: Send,
impl<D> Sync for Terminal<D>where
D: Sync,
impl<D> Unpin for Terminal<D>where
D: Unpin,
impl<D> UnwindSafe for Terminal<D>where
D: UnwindSafe,
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