#[repr(u32)]
pub enum CullFace {
Front,
Back,
FrontAndBack,
}
Variants
Front
Back
FrontAndBack
Trait Implementations
sourceimpl CachedSettings for CullFace
impl CachedSettings for CullFace
fn set(gl: &Gl, value: &Self)
fn read_cached(cache: &impl Deref<Target = SettingsCache>) -> Self
fn write_cached(cache: &mut impl DerefMut<Target = SettingsCache>, value: &Self)
sourceimpl PartialEq<CullFace> for CullFace
impl PartialEq<CullFace> for CullFace
sourceimpl TryFrom<u32> for CullFace
impl TryFrom<u32> for CullFace
type Error = TryFromPrimitiveError<CullFace>
type Error = TryFromPrimitiveError<CullFace>
The type returned in the event of a conversion error.
sourcefn try_from(number: u32) -> Result<Self, TryFromPrimitiveError<Self>>
fn try_from(number: u32) -> Result<Self, TryFromPrimitiveError<Self>>
Performs the conversion.
sourceimpl TryFromPrimitive for CullFace
impl TryFromPrimitive for CullFace
type Primitive = u32
const NAME: &'static str = _
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for CullFace
impl Eq for CullFace
impl StructuralEq for CullFace
impl StructuralPartialEq for CullFace
Auto Trait Implementations
impl RefUnwindSafe for CullFace
impl Send for CullFace
impl Sync for CullFace
impl Unpin for CullFace
impl UnwindSafe for CullFace
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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