Docs.rs
buffer-graphics-lib-0.8.3
buffer-graphics-lib 0.8.3
Docs.rs crate page
Links
Homepage
Repository
crates.io
Source
Owners
emmabritton
Dependencies
graphics-shapes ^0.1.6
normal
image ^0.24.3
normal
serde ^1.0
normal
serde_json ^1.0
normal
thiserror ^1.0
normal
anyhow ^1.0
dev
fastrand ^1.6
dev
Versions
23.58%
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
☰
CreateDrawable
Required Methods
from_obj
Implementors
In buffer_graphics_lib::shapes
?
Trait
buffer_graphics_lib
::
shapes
::
CreateDrawable
source
·
[
−
]
pub trait CreateDrawable<T:
Clone
> { fn
from_obj
(obj: T, draw_type:
DrawType
) ->
Drawable
<T>; }
Required Methods
§
source
fn
from_obj
(obj: T, draw_type:
DrawType
) ->
Drawable
<T>
Implementors
§
source
§
impl
CreateDrawable
<
Circle
> for
Drawable
<
Circle
>
source
§
impl
CreateDrawable
<
Ellipse
> for
Drawable
<
Ellipse
>
source
§
impl
CreateDrawable
<
Line
> for
Drawable
<
Line
>
source
§
impl
CreateDrawable
<
Polygon
> for
Drawable
<
Polygon
>
source
§
impl
CreateDrawable
<
Rect
> for
Drawable
<
Rect
>
source
§
impl
CreateDrawable
<
Triangle
> for
Drawable
<
Triangle
>