pub struct TechniqueStateFunction {
pub blend_color: [f32; 4],
pub blend_equation_seperate: [Checked<BlendEquationSeparate>; 2],
pub blend_func_seperate: [Checked<BlendFuncSeparate>; 4],
pub color_mask: [bool; 4],
pub cull_face: [Checked<CullFace>; 1],
pub depth_func: [Checked<DepthFunc>; 1],
pub depth_mask: [bool; 1],
pub depth_range: [f32; 2],
pub front_face: [Checked<FrontFace>; 1],
pub line_width: [f32; 1],
pub polygon_offset: [f32; 2],
pub scissor: [f32; 4],
}Fields§
§blend_color: [f32; 4]§blend_equation_seperate: [Checked<BlendEquationSeparate>; 2]§blend_func_seperate: [Checked<BlendFuncSeparate>; 4]§color_mask: [bool; 4]§cull_face: [Checked<CullFace>; 1]§depth_func: [Checked<DepthFunc>; 1]§depth_mask: [bool; 1]§depth_range: [f32; 2]§front_face: [Checked<FrontFace>; 1]§line_width: [f32; 1]§polygon_offset: [f32; 2]§scissor: [f32; 4]Trait Implementations§
Source§impl Clone for TechniqueStateFunction
impl Clone for TechniqueStateFunction
Source§fn clone(&self) -> TechniqueStateFunction
fn clone(&self) -> TechniqueStateFunction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TechniqueStateFunction
impl Debug for TechniqueStateFunction
Source§impl<'de> Deserialize<'de> for TechniqueStateFunction
impl<'de> Deserialize<'de> for TechniqueStateFunction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for TechniqueStateFunction
impl Serialize for TechniqueStateFunction
Auto Trait Implementations§
impl Freeze for TechniqueStateFunction
impl RefUnwindSafe for TechniqueStateFunction
impl Send for TechniqueStateFunction
impl Sync for TechniqueStateFunction
impl Unpin for TechniqueStateFunction
impl UnwindSafe for TechniqueStateFunction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more