Docs.rs
  • buffer-graphics-lib-0.10.3
    • buffer-graphics-lib 0.10.3
    • Docs.rs crate page
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • emmabritton
    • Dependencies
      • graphics-shapes ^0.1.11 normal
      • ici-files ^0.1.0 normal
      • image ^0.24.3 normal
      • log ^0.4.17 normal
      • serde ^1.0 normal
      • thiserror ^1.0 normal
      • anyhow ^1.0 dev
      • fastrand ^1.6 dev
    • Versions
    • 20.74% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Renderable

Required Methods

  • render

Implementors

In buffer_graphics_lib::drawing

?
Change settings

Trait buffer_graphics_lib::drawing::Renderable

source ·
pub trait Renderable<T> {
    // Required method
    fn render(&self, graphics: &mut Graphics<'_>);
}
Expand description

Represents anything that Graphics can render

Required Methods§

source

fn render(&self, graphics: &mut Graphics<'_>)

Implementors§

source§

impl Renderable<ShapeBox> for ShapeBox

source§

impl Renderable<Image> for RenderableImage

source§

impl Renderable<RenderableAnimatedImage> for RenderableAnimatedImage

source§

impl Renderable<RenderableIndexedImage> for RenderableIndexedImage

source§

impl Renderable<Circle> for Drawable<Circle>

source§

impl Renderable<Ellipse> for Drawable<Ellipse>

source§

impl Renderable<Line> for Drawable<Line>

source§

impl Renderable<Polygon> for Drawable<Polygon>

source§

impl Renderable<Rect> for Drawable<Rect>

source§

impl Renderable<Triangle> for Drawable<Triangle>

source§

impl Renderable<ShapeCollection> for ShapeCollection

source§

impl Renderable<Polyline> for Polyline

source§

impl Renderable<Text> for Text