pub struct DebugRenderer { /* private fields */ }Expand description
A renderer that explains the actions a render phase would take
Implementations§
source§impl DebugRenderer
impl DebugRenderer
Trait Implementations§
source§impl Default for DebugRenderer
impl Default for DebugRenderer
source§fn default() -> DebugRenderer
fn default() -> DebugRenderer
Returns the “default value” for a type. Read more
source§impl Display for DebugRenderer
impl Display for DebugRenderer
source§impl Renderer for DebugRenderer
impl Renderer for DebugRenderer
fn begin(&mut self) -> Result<()>
fn end(&mut self) -> Result<()>
fn move_to(&mut self, pos: Pos2) -> Result<()>
fn write(&mut self, ch: char) -> Result<()>
fn set_fg(&mut self, rgb: Rgba) -> Result<()>
fn set_bg(&mut self, rgb: Rgba) -> Result<()>
fn set_attr(&mut self, attr: Attribute) -> Result<()>
fn reset_fg(&mut self) -> Result<()>
fn reset_bg(&mut self) -> Result<()>
fn reset_attr(&mut self) -> Result<()>
fn clear_screen(&mut self) -> Result<()>
fn set_title(&mut self, title: &str) -> Result<()>
fn switch_to_alt_screen(&mut self) -> Result<()>
fn switch_to_main_screen(&mut self) -> Result<()>
Auto Trait Implementations§
impl Freeze for DebugRenderer
impl RefUnwindSafe for DebugRenderer
impl Send for DebugRenderer
impl Sync for DebugRenderer
impl Unpin for DebugRenderer
impl UnwindSafe for DebugRenderer
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