[][src]Struct x1b::Curse

pub struct Curse<TColor: RGB> { /* fields omitted */ }

Implementations

impl<TColor: RGB + Default + Clone> Curse<TColor>[src]

pub fn new(w: u16, h: u16) -> Self[src]

impl<TColor: RGB + Eq + Copy> Curse<TColor>[src]

pub fn clear(&mut self, tc: Char<TColor>)[src]

pub unsafe fn setidx(&mut self, idx: u32, tc: Char<TColor>)[src]

pub fn set(&mut self, x: u16, y: u16, tc: Char<TColor>)[src]

pub fn printnows(
    &mut self,
    x: u16,
    y: u16,
    s: &str,
    ta: TextAttr,
    fg: TColor,
    bg: TColor
)
[src]

pub fn print(
    &mut self,
    x: u16,
    y: u16,
    s: &str,
    ta: TextAttr,
    fg: TColor,
    bg: TColor
)
[src]

pub fn refresh(&mut self) -> Result<()>[src]

pub fn perframe_refresh_then_clear(&mut self, tc: Char<TColor>) -> Result<()>[src]

Auto Trait Implementations

impl<TColor> RefUnwindSafe for Curse<TColor> where
    TColor: RefUnwindSafe

impl<TColor> Send for Curse<TColor> where
    TColor: Send

impl<TColor> Sync for Curse<TColor> where
    TColor: Sync

impl<TColor> Unpin for Curse<TColor> where
    TColor: Unpin

impl<TColor> UnwindSafe for Curse<TColor> where
    TColor: RefUnwindSafe + UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.