Struct ugli::StencilMode
source · pub struct StencilMode {
pub back_face: FaceStencilMode,
pub front_face: FaceStencilMode,
}
Fields§
§back_face: FaceStencilMode
§front_face: FaceStencilMode
Implementations§
source§impl StencilMode
impl StencilMode
pub fn always(mode: FaceStencilMode) -> Self
Trait Implementations§
source§impl Clone for StencilMode
impl Clone for StencilMode
source§fn clone(&self) -> StencilMode
fn clone(&self) -> StencilMode
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 StencilMode
impl Debug for StencilMode
source§impl PartialEq for StencilMode
impl PartialEq for StencilMode
source§fn eq(&self, other: &StencilMode) -> bool
fn eq(&self, other: &StencilMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StencilMode
impl StructuralEq for StencilMode
impl StructuralPartialEq for StencilMode
Auto Trait Implementations§
impl RefUnwindSafe for StencilMode
impl Send for StencilMode
impl Sync for StencilMode
impl Unpin for StencilMode
impl UnwindSafe for StencilMode
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