Struct centaurea_ui::Buffer [−][src]
pub struct Buffer<S: Style> { pub width: u16, pub height: u16, pub styles: HashMap<S, ContentStyle>, // some fields omitted }
Fields
width: u16
height: u16
styles: HashMap<S, ContentStyle>
Implementations
Trait Implementations
impl<S: Style> Drawable<S> for Buffer<S>
[src]
impl<S: Style> Drawable<S> for Buffer<S>
[src]fn fill(&mut self, text: char, style: S)
[src]
fn rect(&mut self, rect: Rect, text: char, style: S)
[src]
fn string(&mut self, x: u16, y: u16, text: String, style: S)
[src]
fn pixels(&mut self, x: u16, y: u16, pixels: &Pixels<S>)
[src]
fn pixel(&mut self, x: u16, y: u16, pixel: Pixel<S>)
[src]
fn pixel_at_index(&mut self, coord: usize, pixel: Pixel<S>)
[src]
Auto Trait Implementations
impl<S> RefUnwindSafe for Buffer<S> where
S: RefUnwindSafe,
impl<S> RefUnwindSafe for Buffer<S> where
S: RefUnwindSafe,
impl<S> UnwindSafe for Buffer<S> where
S: RefUnwindSafe + UnwindSafe,
impl<S> UnwindSafe for Buffer<S> where
S: RefUnwindSafe + UnwindSafe,