pub struct EntryPoint<'a> {
pub execution_model: ExecutionModel,
pub name: CompilerStr<'a>,
}Expand description
A SPIR-V entry point.
Fields§
§execution_model: ExecutionModelThe execution model for the entry point.
name: CompilerStr<'a>The name of the entry point.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for EntryPoint<'a>
impl<'a> RefUnwindSafe for EntryPoint<'a>
impl<'a> Send for EntryPoint<'a>
impl<'a> Sync for EntryPoint<'a>
impl<'a> Unpin for EntryPoint<'a>
impl<'a> UnwindSafe for EntryPoint<'a>
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