Struct realtime_termgraph::Canvas
source · pub struct Canvas { /* private fields */ }Implementations§
source§impl Canvas
impl Canvas
pub fn new(rows: u16, columns: u16) -> Self
pub fn custom( rows: u16, columns: u16, x_bounds: RangeInclusive<f32>, y_bounds: RangeInclusive<f32>, marker: char, border_char: char ) -> Self
pub fn init(self) -> Self
pub fn style(self, marker: char, border_char: char) -> Self
pub fn x_bounds(self, bounds: RangeInclusive<f32>) -> Self
pub fn y_bounds(self, bounds: RangeInclusive<f32>) -> Self
pub fn bounds( self, x_bounds: RangeInclusive<f32>, y_bounds: RangeInclusive<f32> ) -> Self
pub fn plot_points(&self, points: &[Point])
pub fn plot_point(&self, point: &Point)
pub fn print_border(&self)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Canvas
impl Send for Canvas
impl Sync for Canvas
impl Unpin for Canvas
impl UnwindSafe for Canvas
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