[][src]Struct gfx_hal::pso::EntryPoint

pub struct EntryPoint<'a, B: Backend> {
    pub entry: &'a str,
    pub module: &'a B::ShaderModule,
    pub specialization: Specialization<'a>,
}

Shader entry point.

Fields

entry: &'a str

Entry point name.

module: &'a B::ShaderModule

Shader module reference.

specialization: Specialization<'a>

Specialization.

Trait Implementations

impl<'a, B: Backend> Clone for EntryPoint<'a, B>[src]

impl<'a, B: Debug + Backend> Debug for EntryPoint<'a, B> where
    B::ShaderModule: Debug
[src]

Auto Trait Implementations

impl<'a, B> RefUnwindSafe for EntryPoint<'a, B> where
    <B as Backend>::ShaderModule: RefUnwindSafe

impl<'a, B> Send for EntryPoint<'a, B> where
    <B as Backend>::ShaderModule: Sync

impl<'a, B> Sync for EntryPoint<'a, B> where
    <B as Backend>::ShaderModule: Sync

impl<'a, B> Unpin for EntryPoint<'a, B>

impl<'a, B> UnwindSafe for EntryPoint<'a, B> where
    <B as Backend>::ShaderModule: RefUnwindSafe

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.