Docs.rs
gfx-0.18.3
gfx 0.18.3
Permalink
Docs.rs crate page
Apache-2.0
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
bvssvni
csherratt
kvark
brendanzab
emberian
Dependencies
draw_state ^0.8
normal
gfx_core ^0.9.2
normal
log ^0.4
normal
mint ^0.5
normal
Versions
100%
of the crate is documented
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
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
ToUniform
Required Methods
convert
Implementations on Foreign Types
[[f32; 2]; 2]
[[f32; 3]; 3]
[[f32; 4]; 4]
[f32; 2]
[f32; 3]
[f32; 4]
[i32; 2]
[i32; 3]
[i32; 4]
[u32; 2]
[u32; 3]
[u32; 4]
f32
i32
u32
Implementors
In gfx::shade
?
Trait
gfx
::
shade
::
ToUniform
source
·
[
−
]
pub trait ToUniform:
Copy
{ // Required method fn
convert
(self) ->
UniformValue
; }
Required Methods
§
source
fn
convert
(self) ->
UniformValue
Implementations on Foreign Types
§
source
§
impl
ToUniform
for [
i32
;
4
]
source
§
fn
convert
(self) ->
UniformValue
source
§
impl
ToUniform
for [
f32
;
2
]
source
§
fn
convert
(self) ->
UniformValue
source
§
impl
ToUniform
for [
i32
;
2
]
source
§
fn
convert
(self) ->
UniformValue
source
§
impl
ToUniform
for
u32
source
§
fn
convert
(self) ->
UniformValue
source
§
impl
ToUniform
for [[
f32
;
4
];
4
]
source
§
fn
convert
(self) ->
UniformValue
source
§
impl
ToUniform
for [
u32
;
3
]
source
§
fn
convert
(self) ->
UniformValue
source
§
impl
ToUniform
for [
u32
;
4
]
source
§
fn
convert
(self) ->
UniformValue
source
§
impl
ToUniform
for [
f32
;
3
]
source
§
fn
convert
(self) ->
UniformValue
source
§
impl
ToUniform
for
i32
source
§
fn
convert
(self) ->
UniformValue
source
§
impl
ToUniform
for [
f32
;
4
]
source
§
fn
convert
(self) ->
UniformValue
source
§
impl
ToUniform
for [
u32
;
2
]
source
§
fn
convert
(self) ->
UniformValue
source
§
impl
ToUniform
for [[
f32
;
2
];
2
]
source
§
fn
convert
(self) ->
UniformValue
source
§
impl
ToUniform
for [[
f32
;
3
];
3
]
source
§
fn
convert
(self) ->
UniformValue
source
§
impl
ToUniform
for [
i32
;
3
]
source
§
fn
convert
(self) ->
UniformValue
source
§
impl
ToUniform
for
f32
source
§
fn
convert
(self) ->
UniformValue
Implementors
§