Docs.rs
grafix-toolbox-0.8.31
grafix-toolbox 0.8.31
Permalink
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
installgentoo
Dependencies
bincode ^1
normal
optional
bitflags ^2
normal
fastrand ^2
normal
optional
futures-lite ^2
normal
gl ^0.14
normal
glfw ^0.58
normal
half ^2
normal
image ^0.25
normal
nalgebra ^0.33
normal
notify ^7
normal
optional
rusttype ^0.9
normal
optional
serde ^1
normal
optional
serde_json ^1
normal
optional
tobj ^4
normal
optional
tokio ^1
normal
yansi ^1
normal
zstd ^0.13
normal
optional
Versions
2.01%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
grafix_
toolbox
0.8.31
Window
Aliased Type
Methods
Bind
Viewport
Trait Implementations
Frame
In grafix_
toolbox::
GL::
window
grafix_toolbox
::
GL
::
window
Type Alias
Window
Copy item path
Source
pub type Window =
GlfwWindow
;
Aliased Type
§
pub struct Window {
/* private fields */
}
Implementations
§
Source
§
impl
Window
Source
pub fn
Viewport
(&self, args: impl
WINSize
)
Source
pub fn
Bind
(&self) ->
Binding
<'_,
Framebuff
>
Trait Implementations
§
Source
§
impl
Frame
for
Window
Source
§
fn
ClearColor
(&self, args: impl ClearArgs)
Source
§
fn
ClearDepth
<T>(&self, d: T)
where
f32
:
Cast
<T>,
Source
§
fn
size
(&self) ->
uVec2
Source
§
fn
aspect
(&self) ->
Vec2
Source
§
fn
pixel
(&self) ->
f32
Source
§
fn
bind
(&self) ->
Binding
<'_,
Framebuff
>
Source
§
fn
to_clip
(&self) ->
Vec2
Source
§
fn
pixel_vec2
(&self) ->
Vec2
Source
§
fn
clear
(&self, args: impl ColorDepthArg)