Struct rust_console_game_engine::RustConsoleSprite [−][src]
pub struct RustConsoleSprite { /* fields omitted */ }
Implementations
impl RustConsoleSprite
[src]
impl RustConsoleSprite
[src]pub struct RustConsoleSprite { /* fields omitted */ }
impl RustConsoleSprite
[src]pub fn new(w: usize, h: usize) -> Result<RustConsoleSprite, Error>
[src]pub fn from_path(path: &str) -> Result<RustConsoleSprite, Error>
[src]pub fn width(&self) -> usize
[src]pub fn height(&self) -> usize
[src]pub fn set_glyph(&mut self, x: usize, y: usize, c: char)
[src]pub fn set_color(&mut self, x: usize, y: usize, col: u16)
[src]pub fn get_glyph(&self, x: usize, y: usize) -> char
[src]pub fn get_color(&self, x: usize, y: usize) -> u16
[src]pub fn sample_glyph(&self, x: f32, y: f32) -> char
[src]pub fn sample_color(&self, x: f32, y: f32) -> u16
[src]impl RefUnwindSafe for RustConsoleSprite
impl Send for RustConsoleSprite
impl Sync for RustConsoleSprite
impl Unpin for RustConsoleSprite
impl UnwindSafe for RustConsoleSprite