Docs.rs
  • glium-0.20.0
    • glium 0.20.0
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • tomaka
    • github:glium:publish
    • Dependencies
      • backtrace ^0.3.2 normal
      • fnv ^1.0.5 normal
      • glutin ^0.12 normal
      • lazy_static ^1.0 normal
      • smallvec ^0.6 normal
      • cgmath ^0.16 dev
      • genmesh ^0.5 dev
      • image ^0.18 dev
      • obj ^0.8 dev
      • rand ^0.4 dev
      • gl_generator ^0.8 build
    • Versions
    • 100% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • 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
logo

logo

ToClientFormat

Required Methods

  • rgb_format
  • rgba_format

Implementations on Foreign Types

  • f32
  • i16
  • i32
  • i8
  • u16
  • u32
  • u8

Implementors

In glium::texture

?
Change settings

Trait glium::texture::ToClientFormat

source ·
pub trait ToClientFormat {
    // Required methods
    fn rgb_format() -> ClientFormat;
    fn rgba_format() -> ClientFormat;
}

Required Methods§

source

fn rgb_format() -> ClientFormat

source

fn rgba_format() -> ClientFormat

Implementations on Foreign Types§

source§

impl ToClientFormat for i16

source§

fn rgb_format() -> ClientFormat

source§

fn rgba_format() -> ClientFormat

source§

impl ToClientFormat for i32

source§

fn rgb_format() -> ClientFormat

source§

fn rgba_format() -> ClientFormat

source§

impl ToClientFormat for u16

source§

fn rgb_format() -> ClientFormat

source§

fn rgba_format() -> ClientFormat

source§

impl ToClientFormat for u32

source§

fn rgb_format() -> ClientFormat

source§

fn rgba_format() -> ClientFormat

source§

impl ToClientFormat for i8

source§

fn rgb_format() -> ClientFormat

source§

fn rgba_format() -> ClientFormat

source§

impl ToClientFormat for f32

source§

fn rgb_format() -> ClientFormat

source§

fn rgba_format() -> ClientFormat

source§

impl ToClientFormat for u8

source§

fn rgb_format() -> ClientFormat

source§

fn rgba_format() -> ClientFormat

Implementors§