fn put_char_ex(&mut self,
                   x: i32, y: i32, glyph: char,
                   foreground: Color, background: Color) {
        assert!(x >= 0 && y >= 0);
        unsafe {
            ffi::TCOD_console_put_char_ex(*self.as_native(),
                                          x, y, glyph as i32,
                                          *foreground.as_native(),
                                          *background.as_native());
        }
    }
/// Updates every propert of the given cell using explicit colors for the
/// background and foreground.
Updates every propert of the given cell using explicit colors for the
background and foreground.
Updates every propert of the given cell using explicit colors for the background and foreground .
fn put_char_ex(&mut self,
                   x: i32, y: i32, glyph: char,
                   foreground: Color, background: Color) {
        assert!(x >= 0 && y >= 0);
        unsafe {
            ffi::TCOD_console_put_char_ex(*self.as_native(),
                                          x, y, glyph as i32,
                                          *foreground.as_native(),
                                          *background.as_native());
        }
    }
fn put_char_ex ( & mut self , x : i32 , y : i32 , glyph : char , foreground : Color , background : Color ) { assert ! ( x 0 y 0 ) ; unsafe { ffi :: TCOD_console_put_char_ex ( * self . as_native ( ) , x , y , glyph as i32 , * foreground . as_native ( ) , * background . as_native ( ) ) ; } }
Updates every propert of the given cell using explicit colors for the
background and foreground.
Updates every propert of the given cell using explicit colors for the background and foreground .
&mut self
x
i32
y
i32
glyph
char
foreground
Color
background
Color
&mut self
x
i32
y
i32
glyph
char
foreground
Color
background
Color