Enum graphics::draw_state::Stencil [] [src]

pub enum Stencil {
    Clip(u8),
    Inside(u8),
    Outside(u8),
}

Stencil buffer settings.

Variants

Clip

Draw to stencil buffer.

Inside

Draw pixels that have stencil value.

Outside

Draw pixels that does not have stencil value.

Trait Implementations

Derived Implementations

impl PartialOrd for Stencil

fn partial_cmp(&self, __arg_0: &Stencil) -> Option<Ordering>

fn lt(&self, __arg_0: &Stencil) -> bool

fn le(&self, __arg_0: &Stencil) -> bool

fn gt(&self, __arg_0: &Stencil) -> bool

fn ge(&self, __arg_0: &Stencil) -> bool

impl PartialEq for Stencil

fn eq(&self, __arg_0: &Stencil) -> bool

fn ne(&self, __arg_0: &Stencil) -> bool

impl Debug for Stencil

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for Stencil

fn clone(&self) -> Stencil

1.0.0fn clone_from(&mut self, source: &Self)

impl Copy for Stencil