pub fn print_hline<T: Into<Vec2>>(&self, start: T, len: usize, c: &str) {
        self.new.set(false);

        let p = start.into();
        if p.y > self.size.y || p.x > self.size.x {
            return;
        }
        let len = min(len, self.size.x - p.x);
        let text: String = ::std::iter::repeat(c).take(len).collect();

        let p = p + self.offset;
        self.backend.print_at((p.x, p.y), &text);
    }
/// Prints a horizontal line using the given character.
Prints a horizontal line using the given character.
Prints a horizontal line using the given character .
pub fn print_hline<T: Into<Vec2>>(&self, start: T, len: usize, c: &str) {
        self.new.set(false);
        let p = start.into();
        if p.y > self.size.y || p.x > self.size.x {
            return;
        }
        let len = min(len, self.size.x - p.x);
        let text: String = ::std::iter::repeat(c).take(len).collect();
        let p = p + self.offset;
        self.backend.print_at((p.x, p.y), &text);
    }
pub fn print_hline < T : Into < Vec2 > > ( & self , start : T , len : usize , c : & str ) { self . new . set ( false ) ; let p = start . into ( ) ; if p . y > self . size . y || p . x > self . size . x { return ; } let len = min ( len , self . size . x - p . x ) ; let text : String = :: std :: iter :: repeat ( c ) . take ( len ) . collect ( ) ; let p = p + self . offset ; self . backend . print_at ( ( p . x , p . y ) , & text ) ; }
Prints a horizontal line using the given character.
Prints a horizontal line using the given character .
&self
start
T
len
usize
c
&str
&self
start
T
len
usize
c
&str