[][src]Struct sokol::gfx::SgBindings

pub struct SgBindings {
    pub vertex_buffers: Vec<SgBuffer>,
    pub vertex_buffer_offsets: Vec<i32>,
    pub index_buffer: SgBuffer,
    pub index_buffer_offset: i32,
    pub vs_images: Vec<SgImage>,
    pub fs_images: Vec<SgImage>,
}

Fields

vertex_buffers: Vec<SgBuffer>vertex_buffer_offsets: Vec<i32>index_buffer: SgBufferindex_buffer_offset: i32vs_images: Vec<SgImage>fs_images: Vec<SgImage>

Trait Implementations

impl Default for SgBindings[src]

impl Debug for SgBindings[src]

Auto Trait Implementations

impl Send for SgBindings

impl Sync for SgBindings

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.