Enum graphics::draw_state::Stencil [−][src]
Stencil buffer settings.
Variants
Clip(u8)Draw to stencil buffer.
Inside(u8)Draw pixels that have stencil value.
Outside(u8)Draw pixels that does not have stencil value.
Trait Implementations
impl Copy for Stencil[src]
impl Copy for Stencilimpl Clone for Stencil[src]
impl Clone for Stencilfn clone(&self) -> Stencil[src]
fn clone(&self) -> StencilReturns 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 Debug for Stencil[src]
impl Debug for Stencilfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for Stencil[src]
impl PartialEq for Stencilfn eq(&self, other: &Stencil) -> bool[src]
fn eq(&self, other: &Stencil) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Stencil) -> bool[src]
fn ne(&self, other: &Stencil) -> boolThis method tests for !=.
impl PartialOrd for Stencil[src]
impl PartialOrd for Stencilfn partial_cmp(&self, other: &Stencil) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &Stencil) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Stencil) -> bool[src]
fn lt(&self, other: &Stencil) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Stencil) -> bool[src]
fn le(&self, other: &Stencil) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &Stencil) -> bool[src]
fn gt(&self, other: &Stencil) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Stencil) -> bool[src]
fn ge(&self, other: &Stencil) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more