[][src]Struct naga::EntryPoint

pub struct EntryPoint {
    pub stage: ShaderStage,
    pub name: String,
    pub function: Handle<Function>,
}

Exported function, to be run at a certain stage in the pipeline.

Fields

stage: ShaderStage

The stage in the programmable pipeline this entry point is for.

name: String

Name identifying this entry point.

function: Handle<Function>

The function to be used.

Trait Implementations

impl Debug for EntryPoint[src]

Auto Trait Implementations

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, 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.