Enum GraphicsCullMode
#[repr(i32)]pub enum GraphicsCullMode {
None = 0,
Back = 1,
Front = 2,
}Expand description
List of available cull modes.
Variants§
Implementations§
§impl GraphicsCullMode
impl GraphicsCullMode
pub fn as_str(self) -> &'static str
pub fn convert(num: i32) -> GraphicsCullMode
Trait Implementations§
§impl Clone for GraphicsCullMode
impl Clone for GraphicsCullMode
§fn clone(&self) -> GraphicsCullMode
fn clone(&self) -> GraphicsCullMode
Returns a duplicate 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 more§impl Debug for GraphicsCullMode
impl Debug for GraphicsCullMode
§impl Display for GraphicsCullMode
impl Display for GraphicsCullMode
§impl PartialEq for GraphicsCullMode
impl PartialEq for GraphicsCullMode
§impl VariantConstraint for GraphicsCullMode
impl VariantConstraint for GraphicsCullMode
§type DataArg<'a> = GraphicsCullMode
type DataArg<'a> = GraphicsCullMode
Specifies the type of an argument that provides a value to
Variant.
Generally, this type matches Self, except for KanziString, Resource, and ResourceId. Read more§type RetArg = GraphicsCullMode
type RetArg = GraphicsCullMode
§fn as_arg(&self) -> <GraphicsCullMode as VariantConstraint>::DataArg<'_>
fn as_arg(&self) -> <GraphicsCullMode as VariantConstraint>::DataArg<'_>
impl Copy for GraphicsCullMode
impl Eq for GraphicsCullMode
impl PropertyTypeConstraint for GraphicsCullMode
impl StructuralPartialEq for GraphicsCullMode
Auto Trait Implementations§
impl Freeze for GraphicsCullMode
impl RefUnwindSafe for GraphicsCullMode
impl Send for GraphicsCullMode
impl Sync for GraphicsCullMode
impl Unpin for GraphicsCullMode
impl UnwindSafe for GraphicsCullMode
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