Docs.rs
glsl-layout2-0.5.1
glsl-layout2 0.5.1
Permalink
Docs.rs crate page
MIT/Apache-2.0
Links
Repository
crates.io
Source
Owners
Nazariglez
Dependencies
cgmath ^0.18.0
normal
glam ^0.23.0
normal
glsl-layout-derive2 ^0.4.0
normal
nalgebra ^0.32.2
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
☰
double
Trait Implementations
Std140
Uniform
In glsl_layout2
?
Type Definition
glsl_layout2
::
double
source
·
[
−
]
pub type double =
f64
;
Expand description
Double-precision floating-point value.
Trait Implementations
§
source
§
impl
Std140
for
double
source
§
fn
as_raw
(&self) -> &[
u8
]
ⓘ
Convert to bytes-slice.
source
§
impl
Uniform
for
double
§
type
Align
= Align8
ZST that enforces alignment required for this type.
§
type
Std140
=
f64
Type that contain same data with memory layout matching glsl’s
layout(std140)
.
source
§
fn
std140
(&self) ->
double
Get aligned data from structure.