#[repr(u32)]pub enum FunctionParameterAttribute {
Zext = 0,
Sext = 1,
ByVal = 2,
Sret = 3,
NoAlias = 4,
NoCapture = 5,
NoWrite = 6,
NoReadWrite = 7,
RuntimeAlignedINTEL = 5_940,
}
Expand description
SPIR-V operand kind: FunctionParameterAttribute
Variants§
Zext = 0
Sext = 1
ByVal = 2
Sret = 3
NoAlias = 4
NoCapture = 5
NoWrite = 6
NoReadWrite = 7
RuntimeAlignedINTEL = 5_940
Implementations§
Trait Implementations§
source§impl Clone for FunctionParameterAttribute
impl Clone for FunctionParameterAttribute
source§fn clone(&self) -> FunctionParameterAttribute
fn clone(&self) -> FunctionParameterAttribute
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 FunctionParameterAttribute
impl Debug for FunctionParameterAttribute
source§impl FromStr for FunctionParameterAttribute
impl FromStr for FunctionParameterAttribute
source§impl Hash for FunctionParameterAttribute
impl Hash for FunctionParameterAttribute
source§impl Ord for FunctionParameterAttribute
impl Ord for FunctionParameterAttribute
source§fn cmp(&self, other: &FunctionParameterAttribute) -> Ordering
fn cmp(&self, other: &FunctionParameterAttribute) -> 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 FunctionParameterAttribute
impl PartialEq for FunctionParameterAttribute
source§fn eq(&self, other: &FunctionParameterAttribute) -> bool
fn eq(&self, other: &FunctionParameterAttribute) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FunctionParameterAttribute
impl PartialOrd for FunctionParameterAttribute
source§fn partial_cmp(&self, other: &FunctionParameterAttribute) -> Option<Ordering>
fn partial_cmp(&self, other: &FunctionParameterAttribute) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for FunctionParameterAttribute
impl Eq for FunctionParameterAttribute
impl StructuralPartialEq for FunctionParameterAttribute
Auto Trait Implementations§
impl Freeze for FunctionParameterAttribute
impl RefUnwindSafe for FunctionParameterAttribute
impl Send for FunctionParameterAttribute
impl Sync for FunctionParameterAttribute
impl Unpin for FunctionParameterAttribute
impl UnwindSafe for FunctionParameterAttribute
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