pub struct Output { /* private fields */ }
Expand description
Main Output
Struct, can be printed normally - implements fmt
Implementations§
Source§impl Output
impl Output
Sourcepub fn new(s: String) -> Output
pub fn new(s: String) -> Output
Creates a new output struct, finding output size and taking blanket output chars
Sourcepub fn place_coord(&mut self, p: (usize, usize), s: String)
pub fn place_coord(&mut self, p: (usize, usize), s: String)
Places char at coordinate given, if coordinate in section
Sourcepub fn place_unchecked(&mut self, p: (f32, f32), s: String)
pub fn place_unchecked(&mut self, p: (f32, f32), s: String)
Places char at percent coord given, if in or out of terminal
Sourcepub fn place(&mut self, p: (f32, f32), s: String)
pub fn place(&mut self, p: (f32, f32), s: String)
Places char at percent coord given, if coordinate in section
Sourcepub fn update_size(&mut self)
pub fn update_size(&mut self)
Updates the size held within the output - if you want to continually update when terminal updates
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnwindSafe for Output
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