[][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]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

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

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

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

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

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

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