pub struct EntryPoint<'a, B>where
B: Backend,{
pub entry: &'a str,
pub module: &'a <B as Backend>::ShaderModule,
pub specialization: Specialization<'a>,
}
Expand description
Shader entry point.
Fields§
§entry: &'a str
Entry point name.
module: &'a <B as Backend>::ShaderModule
Shader module reference.
specialization: Specialization<'a>
Specialization.
Trait Implementations§
Source§impl<'a, B> Clone for EntryPoint<'a, B>where
B: Backend,
impl<'a, B> Clone for EntryPoint<'a, B>where
B: Backend,
Source§fn clone(&self) -> EntryPoint<'a, B>
fn clone(&self) -> EntryPoint<'a, B>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a, B> Freeze for EntryPoint<'a, B>
impl<'a, B> RefUnwindSafe for EntryPoint<'a, B>
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>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more