Enum psp::sys::StencilFunc
source · #[repr(u32)]pub enum StencilFunc {
Never = 0,
Always = 1,
Equal = 2,
NotEqual = 3,
Less = 4,
LessOrEqual = 5,
Greater = 6,
GreaterOrEqual = 7,
}
Expand description
Test function for stencil test
Variants§
Never = 0
Always = 1
Equal = 2
NotEqual = 3
Less = 4
LessOrEqual = 5
Greater = 6
GreaterOrEqual = 7
Trait Implementations§
source§impl Clone for StencilFunc
impl Clone for StencilFunc
source§fn clone(&self) -> StencilFunc
fn clone(&self) -> StencilFunc
Returns a copy 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 StencilFunc
impl Debug for StencilFunc
impl Copy for StencilFunc
Auto Trait Implementations§
impl Freeze for StencilFunc
impl RefUnwindSafe for StencilFunc
impl Send for StencilFunc
impl Sync for StencilFunc
impl Unpin for StencilFunc
impl UnwindSafe for StencilFunc
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