Struct gfx_core::state::RefValues [−][src]
The complete set of the rasterizer reference values. Switching these doesn't roll the hardware context.
Fields
stencil: (u8, u8)
Stencil front and back values.
blend: [f32; 4]
Constant blend color.
Trait Implementations
impl PartialOrd<RefValues> for RefValues[src]
impl PartialOrd<RefValues> for RefValuesfn partial_cmp(&self, other: &RefValues) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &RefValues) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &RefValues) -> bool[src]
fn lt(&self, other: &RefValues) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &RefValues) -> bool[src]
fn le(&self, other: &RefValues) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &RefValues) -> bool[src]
fn gt(&self, other: &RefValues) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &RefValues) -> bool[src]
fn ge(&self, other: &RefValues) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Clone for RefValues[src]
impl Clone for RefValuesfn clone(&self) -> RefValues[src]
fn clone(&self) -> RefValuesReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Default for RefValues[src]
impl Default for RefValuesimpl Debug for RefValues[src]
impl Debug for RefValuesfn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Copy for RefValues[src]
impl Copy for RefValuesimpl PartialEq<RefValues> for RefValues[src]
impl PartialEq<RefValues> for RefValues