Struct rokol_ffi::gfx::sg_pipeline_desc[][src]

#[repr(C)]
pub struct sg_pipeline_desc {
Show fields pub _start_canary: u32, pub shader: sg_shader, pub layout: sg_layout_desc, pub depth: sg_depth_state, pub stencil: sg_stencil_state, pub color_count: c_int, pub colors: [sg_color_state; 4], pub primitive_type: sg_primitive_type, pub index_type: sg_index_type, pub cull_mode: sg_cull_mode, pub face_winding: sg_face_winding, pub sample_count: c_int, pub blend_color: sg_color, pub alpha_to_coverage_enabled: bool, pub label: *const c_char, pub _end_canary: u32,
}

Fields

_start_canary: u32shader: sg_shaderlayout: sg_layout_descdepth: sg_depth_statestencil: sg_stencil_statecolor_count: c_intcolors: [sg_color_state; 4]primitive_type: sg_primitive_typeindex_type: sg_index_typecull_mode: sg_cull_modeface_winding: sg_face_windingsample_count: c_intblend_color: sg_coloralpha_to_coverage_enabled: boollabel: *const c_char_end_canary: u32

Trait Implementations

impl Clone for sg_pipeline_desc[src]

impl Copy for sg_pipeline_desc[src]

impl Debug for sg_pipeline_desc[src]

impl Default for sg_pipeline_desc[src]

impl PartialEq<sg_pipeline_desc> for sg_pipeline_desc[src]

impl StructuralPartialEq for sg_pipeline_desc[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.