Struct spirq::entry_point::EntryPoint
source · pub struct EntryPoint {
pub exec_model: ExecutionModel,
pub name: String,
pub vars: Vec<Variable>,
pub exec_modes: Vec<ExecutionMode>,
}
Expand description
Representing an entry point described in a SPIR-V.
Fields§
§exec_model: ExecutionModel
Entry point execution model.
name: String
Name of the entry point.
vars: Vec<Variable>
Variables that contains specialization constant, input, output and descriptor type information.
Note that it is possible that multiple resources are bound to a same
Locator
so this is not a map.
exec_modes: Vec<ExecutionMode>
Execution modes the entry point will execute in, including predefined compute shader local sizes and specialization constant IDs of local sizes.
Trait Implementations§
source§impl Clone for EntryPoint
impl Clone for EntryPoint
source§fn clone(&self) -> EntryPoint
fn clone(&self) -> EntryPoint
Returns a copy 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 moresource§impl Debug for EntryPoint
impl Debug for EntryPoint
source§impl Hash for EntryPoint
impl Hash for EntryPoint
source§impl PartialEq for EntryPoint
impl PartialEq for EntryPoint
source§fn eq(&self, other: &EntryPoint) -> bool
fn eq(&self, other: &EntryPoint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EntryPoint
impl StructuralPartialEq for EntryPoint
Auto Trait Implementations§
impl Freeze for EntryPoint
impl RefUnwindSafe for EntryPoint
impl Send for EntryPoint
impl Sync for EntryPoint
impl Unpin for EntryPoint
impl UnwindSafe for EntryPoint
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