Enum shades::fun::ErasedFunHandle
source · [−]pub enum ErasedFunHandle {
Show 110 variants
Vec2,
Vec3,
Vec4,
Radians,
Degrees,
Sin,
Cos,
Tan,
ASin,
ACos,
ATan,
SinH,
CosH,
TanH,
ASinH,
ACosH,
ATanH,
Pow,
Exp,
Exp2,
Log,
Log2,
Sqrt,
InverseSqrt,
Abs,
Sign,
Floor,
Trunc,
Round,
RoundEven,
Ceil,
Fract,
Min,
Max,
Clamp,
Mix,
Step,
SmoothStep,
IsNan,
IsInf,
FloatBitsToInt,
IntBitsToFloat,
UIntBitsToFloat,
FMA,
Frexp,
Ldexp,
PackUnorm2x16,
PackSnorm2x16,
PackUnorm4x8,
PackSnorm4x8,
UnpackUnorm2x16,
UnpackSnorm2x16,
UnpackUnorm4x8,
UnpackSnorm4x8,
PackHalf2x16,
UnpackHalf2x16,
Length,
Distance,
Dot,
Cross,
Normalize,
FaceForward,
Reflect,
Refract,
VLt,
VLte,
VGt,
VGte,
VEq,
VNeq,
VAny,
VAll,
VNot,
UAddCarry,
USubBorrow,
UMulExtended,
IMulExtended,
BitfieldExtract,
BitfieldInsert,
BitfieldReverse,
BitCount,
FindLSB,
FindMSB,
EmitStreamVertex,
EndStreamPrimitive,
EmitVertex,
EndPrimitive,
DFDX,
DFDY,
DFDXFine,
DFDYFine,
DFDXCoarse,
DFDYCoarse,
FWidth,
FWidthFine,
FWidthCoarse,
InterpolateAtCentroid,
InterpolateAtSample,
InterpolateAtOffset,
Barrier,
MemoryBarrier,
MemoryBarrierAtomic,
MemoryBarrierBuffer,
MemoryBarrierShared,
MemoryBarrierImage,
GroupMemoryBarrier,
AnyInvocation,
AllInvocations,
AllInvocationsEqual,
UserDefined(u16),
}
Expand description
Erased function handle.
Variants
Vec2
Vec3
Vec4
Radians
Degrees
Sin
Cos
Tan
ASin
ACos
ATan
SinH
CosH
TanH
ASinH
ACosH
ATanH
Pow
Exp
Exp2
Log
Log2
Sqrt
InverseSqrt
Abs
Sign
Floor
Trunc
Round
RoundEven
Ceil
Fract
Min
Max
Clamp
Mix
Step
SmoothStep
IsNan
IsInf
FloatBitsToInt
IntBitsToFloat
UIntBitsToFloat
FMA
Frexp
Ldexp
PackUnorm2x16
PackSnorm2x16
PackUnorm4x8
PackSnorm4x8
UnpackUnorm2x16
UnpackSnorm2x16
UnpackUnorm4x8
UnpackSnorm4x8
PackHalf2x16
UnpackHalf2x16
Length
Distance
Dot
Cross
Normalize
FaceForward
Reflect
Refract
VLt
VLte
VGt
VGte
VEq
VNeq
VAny
VAll
VNot
UAddCarry
USubBorrow
UMulExtended
IMulExtended
BitfieldExtract
BitfieldInsert
BitfieldReverse
BitCount
FindLSB
FindMSB
EmitStreamVertex
EndStreamPrimitive
EmitVertex
EndPrimitive
DFDX
DFDY
DFDXFine
DFDYFine
DFDXCoarse
DFDYCoarse
FWidth
FWidthFine
FWidthCoarse
InterpolateAtCentroid
InterpolateAtSample
InterpolateAtOffset
Barrier
MemoryBarrier
MemoryBarrierAtomic
MemoryBarrierBuffer
MemoryBarrierShared
MemoryBarrierImage
GroupMemoryBarrier
AnyInvocation
AllInvocations
AllInvocationsEqual
UserDefined(u16)
Trait Implementations
sourceimpl Clone for ErasedFunHandle
impl Clone for ErasedFunHandle
sourcefn clone(&self) -> ErasedFunHandle
fn clone(&self) -> ErasedFunHandle
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ErasedFunHandle
impl Debug for ErasedFunHandle
sourceimpl PartialEq<ErasedFunHandle> for ErasedFunHandle
impl PartialEq<ErasedFunHandle> for ErasedFunHandle
sourcefn eq(&self, other: &ErasedFunHandle) -> bool
fn eq(&self, other: &ErasedFunHandle) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ErasedFunHandle) -> bool
fn ne(&self, other: &ErasedFunHandle) -> bool
This method tests for !=
.
impl StructuralPartialEq for ErasedFunHandle
Auto Trait Implementations
impl RefUnwindSafe for ErasedFunHandle
impl Send for ErasedFunHandle
impl Sync for ErasedFunHandle
impl Unpin for ErasedFunHandle
impl UnwindSafe for ErasedFunHandle
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