[][src]Enum spirv_headers::FunctionParameterAttribute

#[repr(u32)]pub enum FunctionParameterAttribute {
    Zext,
    Sext,
    ByVal,
    Sret,
    NoAlias,
    NoCapture,
    NoWrite,
    NoReadWrite,
}

/// SPIR-V operand kind: FunctionParameterAttribute

Variants

Zext
Sext
ByVal
Sret
NoAlias
NoCapture
NoWrite
NoReadWrite

Methods

impl FunctionParameterAttribute[src]

pub fn required_capabilities(self) -> &'static [Capability][src]

Trait Implementations

impl Clone for FunctionParameterAttribute[src]

impl Copy for FunctionParameterAttribute[src]

impl Debug for FunctionParameterAttribute[src]

impl Eq for FunctionParameterAttribute[src]

impl FromPrimitive for FunctionParameterAttribute[src]

impl Hash for FunctionParameterAttribute[src]

impl Ord for FunctionParameterAttribute[src]

impl PartialEq<FunctionParameterAttribute> for FunctionParameterAttribute[src]

impl PartialOrd<FunctionParameterAttribute> for FunctionParameterAttribute[src]

impl StructuralEq for FunctionParameterAttribute[src]

impl StructuralPartialEq for FunctionParameterAttribute[src]

Auto Trait Implementations

impl RefUnwindSafe for FunctionParameterAttribute

impl Send for FunctionParameterAttribute

impl Sync for FunctionParameterAttribute

impl Unpin for FunctionParameterAttribute

impl UnwindSafe for FunctionParameterAttribute

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.