Struct gfx_hal::pso::EntryPoint
source · pub struct EntryPoint<'a, B: Backend> {
pub entry: &'a str,
pub module: &'a B::ShaderModule,
pub specialization: Specialization<'a>,
}
Expand description
Shader entry point.
Fields
entry: &'a str
Entry point name.
module: &'a B::ShaderModule
Shader module reference.
specialization: Specialization<'a>
Specialization.
Trait Implementations
sourceimpl<'a, B: Backend> Clone for EntryPoint<'a, B>
impl<'a, B: Backend> Clone for EntryPoint<'a, B>
sourceimpl<'a, B: Debug + Backend> Debug for EntryPoint<'a, B>where
B::ShaderModule: Debug,
impl<'a, B: Debug + Backend> Debug for EntryPoint<'a, B>where
B::ShaderModule: Debug,
impl<'a, B: Copy + Backend> Copy for EntryPoint<'a, B>where
B::ShaderModule: Copy,
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>
impl<'a, B> Sync for EntryPoint<'a, B>
impl<'a, B> Unpin for EntryPoint<'a, B>
impl<'a, B> UnwindSafe for EntryPoint<'a, B>where
<B as Backend>::ShaderModule: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more