#[repr(u32)]pub enum BlendEquation {
Add = 32_774,
Sub = 32_778,
RSub = 32_779,
}
Variants§
Trait Implementations§
Source§impl Clone for BlendEquation
impl Clone for BlendEquation
Source§fn clone(&self) -> BlendEquation
fn clone(&self) -> BlendEquation
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 BlendEquation
impl Debug for BlendEquation
Source§impl Default for BlendEquation
impl Default for BlendEquation
Source§impl From<BlendEquation> for u32
impl From<BlendEquation> for u32
Source§fn from(enum_value: BlendEquation) -> Self
fn from(enum_value: BlendEquation) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BlendEquation
impl PartialEq for BlendEquation
Source§impl TryFrom<u32> for BlendEquation
impl TryFrom<u32> for BlendEquation
Source§type Error = TryFromPrimitiveError<BlendEquation>
type Error = TryFromPrimitiveError<BlendEquation>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for BlendEquation
impl TryFromPrimitive for BlendEquation
const NAME: &'static str = "BlendEquation"
type Primitive = u32
type Error = TryFromPrimitiveError<BlendEquation>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for BlendEquation
impl Eq for BlendEquation
impl StructuralPartialEq for BlendEquation
Auto Trait Implementations§
impl Freeze for BlendEquation
impl RefUnwindSafe for BlendEquation
impl Send for BlendEquation
impl Sync for BlendEquation
impl Unpin for BlendEquation
impl UnwindSafe for BlendEquation
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