pub enum RegisterType {
Show 21 variants
Temp,
Input,
Const,
Texture,
RastOut,
AttrOut,
Output,
ConstInt,
ColorOut,
DepthOut,
Sampler,
Const2,
Const3,
Const4,
ConstBool,
Loop,
TempFloat16,
MiscType,
Label,
Predicate,
Unknown(u8),
}Variants§
Temp
Input
Const
Texture
RastOut
AttrOut
Output
ConstInt
ColorOut
DepthOut
Sampler
Const2
Const3
Const4
ConstBool
Loop
TempFloat16
MiscType
Label
Predicate
Unknown(u8)
Implementations§
Source§impl RegisterType
impl RegisterType
pub fn from_param_token(token: u32) -> Self
pub fn asm_prefix(self) -> &'static str
Trait Implementations§
Source§impl Clone for RegisterType
impl Clone for RegisterType
Source§fn clone(&self) -> RegisterType
fn clone(&self) -> RegisterType
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 moreSource§impl Debug for RegisterType
impl Debug for RegisterType
Source§impl Hash for RegisterType
impl Hash for RegisterType
Source§impl Ord for RegisterType
impl Ord for RegisterType
Source§fn cmp(&self, other: &RegisterType) -> Ordering
fn cmp(&self, other: &RegisterType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RegisterType
impl PartialEq for RegisterType
Source§impl PartialOrd for RegisterType
impl PartialOrd for RegisterType
impl Copy for RegisterType
impl Eq for RegisterType
impl StructuralPartialEq for RegisterType
Auto Trait Implementations§
impl Freeze for RegisterType
impl RefUnwindSafe for RegisterType
impl Send for RegisterType
impl Sync for RegisterType
impl Unpin for RegisterType
impl UnsafeUnpin for RegisterType
impl UnwindSafe for RegisterType
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