Struct rokol_ffi::gfx::sg_bindings [−][src]
#[repr(C)]pub struct sg_bindings { pub _start_canary: u32, pub vertex_buffers: [sg_buffer; 8], pub vertex_buffer_offsets: [c_int; 8], pub index_buffer: sg_buffer, pub index_buffer_offset: c_int, pub vs_images: [sg_image; 12], pub fs_images: [sg_image; 12], pub _end_canary: u32, }
Fields
_start_canary: u32
vertex_buffers: [sg_buffer; 8]
vertex_buffer_offsets: [c_int; 8]
index_buffer: sg_buffer
index_buffer_offset: c_int
vs_images: [sg_image; 12]
fs_images: [sg_image; 12]
_end_canary: u32
Trait Implementations
impl Clone for sg_bindings
[src]
fn clone(&self) -> sg_bindings
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for sg_bindings
[src]
impl Debug for sg_bindings
[src]
impl Default for sg_bindings
[src]
fn default() -> sg_bindings
[src]
impl Eq for sg_bindings
[src]
impl PartialEq<sg_bindings> for sg_bindings
[src]
fn eq(&self, other: &sg_bindings) -> bool
[src]
fn ne(&self, other: &sg_bindings) -> bool
[src]
impl StructuralEq for sg_bindings
[src]
impl StructuralPartialEq for sg_bindings
[src]
Auto Trait Implementations
impl RefUnwindSafe for sg_bindings
impl Send for sg_bindings
impl Sync for sg_bindings
impl Unpin for sg_bindings
impl UnwindSafe for sg_bindings
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,