pub struct Stencil {
pub front: StencilSide,
pub back: StencilSide,
}Expand description
Complete stencil state, specifying how to handle the front and back side of a face.
Fields§
§front: StencilSide§back: StencilSideImplementations§
Trait Implementations§
Source§impl From<Stencil> for DepthStencilInfo
impl From<Stencil> for DepthStencilInfo
Source§fn from(stencil: Stencil) -> DepthStencilInfo
fn from(stencil: Stencil) -> DepthStencilInfo
Converts to this type from the input type.
Source§impl Ord for Stencil
impl Ord for Stencil
Source§impl PartialOrd for Stencil
impl PartialOrd for Stencil
impl Copy for Stencil
impl Eq for Stencil
impl StructuralPartialEq for Stencil
Auto Trait Implementations§
impl Freeze for Stencil
impl RefUnwindSafe for Stencil
impl Send for Stencil
impl Sync for Stencil
impl Unpin for Stencil
impl UnwindSafe for Stencil
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