Docs.rs
glsl-layout-0.5.0
glsl-layout 0.5.0
Permalink
Docs.rs crate page
MIT
/
Apache-2.0
Links
Repository
crates.io
Source
Owners
zakarumych
Dependencies
cgmath ^0.18
normal
optional
glam ^0.22
normal
optional
glsl-layout-derive ^0.4.0
normal
nalgebra ^0.31
normal
optional
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
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
glsl_
layout
0.5.0
int
Trait Implementations
Std140
Uniform
In crate glsl_
layout
glsl_layout
Type Alias
int
Copy item path
Source
pub type int =
i32
;
Expand description
Signed integer value.
Trait Implementations
§
Source
§
impl
Std140
for
int
Source
§
fn
as_raw
(&self) -> &[
u8
]
ⓘ
Convert to bytes-slice.
Source
§
impl
Uniform
for
int
Source
§
type
Align
= Align4
ZST that enforces alignment required for this type.
Source
§
type
Std140
=
i32
Type that contain same data with memory layout matching glsl’s
layout(std140)
.
Source
§
fn
std140
(&self) ->
int
Get aligned data from structure.