Struct rokol_ffi::gfx::sg_depth_state[][src]

#[repr(C)]
pub struct sg_depth_state { pub pixel_format: sg_pixel_format, pub compare: sg_compare_func, pub write_enabled: bool, pub bias: f32, pub bias_slope_scale: f32, pub bias_clamp: f32, }

Fields

pixel_format: sg_pixel_formatcompare: sg_compare_funcwrite_enabled: boolbias: f32bias_slope_scale: f32bias_clamp: f32

Trait Implementations

impl Clone for sg_depth_state[src]

impl Copy for sg_depth_state[src]

impl Debug for sg_depth_state[src]

impl Default for sg_depth_state[src]

impl PartialEq<sg_depth_state> for sg_depth_state[src]

impl StructuralPartialEq for sg_depth_state[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.