pub struct Dom { /* private fields */ }Implementations§
Source§impl Dom
impl Dom
pub fn new() -> Self
pub fn clear(&mut self)
pub fn set_background(&mut self, style: CellStyle)
pub fn set_title(&mut self, title: impl Into<String>)
pub fn fill(&mut self, rect: Rect, ch: char, style: CellStyle)
pub fn text( &mut self, row: u16, col: u16, text: impl Into<String>, style: CellStyle, )
pub fn wrapped_text( &mut self, rect: Rect, text: impl Into<String>, style: CellStyle, )
pub fn scrolling_text<S, I>( &mut self, rect: Rect, lines: I, offset_from_bottom: usize, style: CellStyle, )
pub fn render_to(&self, frame: &mut FrameState)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Dom
impl RefUnwindSafe for Dom
impl Send for Dom
impl Sync for Dom
impl Unpin for Dom
impl UnsafeUnpin for Dom
impl UnwindSafe for Dom
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