pub struct EntryPoint {
pub model: ExecutionModel,
pub name: String,
pub function: u32,
pub local_size: Option<[u32; 3]>,
}Expand description
One OpEntryPoint with the facts that belong to it.
Fields§
§model: ExecutionModelThe execution model (GLCompute, Vertex, …).
name: StringThe entry point’s name.
function: u32The id of the function it enters.
local_size: Option<[u32; 3]>LocalSize execution mode (x, y, z), when the module declares one literally.
Trait Implementations§
Source§impl Clone for EntryPoint
impl Clone for EntryPoint
Source§impl Debug for EntryPoint
impl Debug for EntryPoint
impl Eq for EntryPoint
Source§impl PartialEq for EntryPoint
impl PartialEq for EntryPoint
impl StructuralPartialEq for EntryPoint
Auto Trait Implementations§
impl Forget for EntryPoint
impl Freeze for EntryPoint
impl Move for EntryPoint
impl RefUnwindSafe for EntryPoint
impl Send for EntryPoint
impl Sync for EntryPoint
impl Unpin for EntryPoint
impl UnsafeUnpin 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