Struct grr::StencilFace
source · pub struct StencilFace {
pub fail: StencilOp,
pub pass: StencilOp,
pub depth_fail: StencilOp,
pub compare_op: Compare,
pub compare_mask: u32,
pub reference: u32,
}
Expand description
Fields
fail: StencilOp
pass: StencilOp
depth_fail: StencilOp
compare_op: Compare
compare_mask: u32
reference: u32
Implementations
sourceimpl StencilFace
impl StencilFace
pub const KEEP: StencilFace = _
Trait Implementations
sourceimpl Clone for StencilFace
impl Clone for StencilFace
sourcefn clone(&self) -> StencilFace
fn clone(&self) -> StencilFace
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for StencilFace
impl Debug for StencilFace
sourceimpl PartialEq<StencilFace> for StencilFace
impl PartialEq<StencilFace> for StencilFace
sourcefn eq(&self, other: &StencilFace) -> bool
fn eq(&self, other: &StencilFace) -> bool
impl Copy for StencilFace
impl Eq for StencilFace
impl StructuralEq for StencilFace
impl StructuralPartialEq for StencilFace
Auto Trait Implementations
impl RefUnwindSafe for StencilFace
impl Send for StencilFace
impl Sync for StencilFace
impl Unpin for StencilFace
impl UnwindSafe for StencilFace
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more