[][src]Trait tuifw_screen_base::Screen

pub trait Screen {
    fn size(&self) -> Vector;
fn out(
        &mut self,
        p: Point,
        fg: Color,
        bg: Option<Color>,
        attr: Attr,
        text: &str,
        hard: Range<i16>,
        soft: Range<i16>
    ) -> Range<i16>

Notable traits for Range<A>

impl<A> Iterator for Range<A> where
    A: Step
type Item = A;
;
fn update(
        &mut self,
        cursor: Option<Point>,
        wait: bool
    ) -> Result<Option<Event>, Box<dyn Any>>; }

Required methods

fn size(&self) -> Vector

fn out(
    &mut self,
    p: Point,
    fg: Color,
    bg: Option<Color>,
    attr: Attr,
    text: &str,
    hard: Range<i16>,
    soft: Range<i16>
) -> Range<i16>

Notable traits for Range<A>

impl<A> Iterator for Range<A> where
    A: Step
type Item = A;

fn update(
    &mut self,
    cursor: Option<Point>,
    wait: bool
) -> Result<Option<Event>, Box<dyn Any>>

Loading content...

Implementors

Loading content...