pub struct Generated {
pub body: String,
pub bindings: Vec<usize>,
pub layout: Vec<Slot>,
pub runs: Vec<RunLayout>,
pub param_len: usize,
pub pad_textures: bool,
pub key: String,
}Fields§
§body: StringModule-level declarations plus the entry point, without the library.
bindings: Vec<usize>External indices bound to T0, T1, … in order.
layout: Vec<Slot>What fills P[4..], in order.
runs: Vec<RunLayout>The runs of layers Slot::Run refers to.
param_len: usizeTotal param floats: 4-float header, node blocks, one 2-float origin per texture binding, then the blocks of repeated layers.
pad_textures: boolThe kernel may read any of T0..T15 (a run of texture layers picks its texture per layer): every binding needs a texture.
key: StringContent hash of body.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Generated
impl Freeze for Generated
impl Move for Generated
impl RefUnwindSafe for Generated
impl Send for Generated
impl Sync for Generated
impl Unpin for Generated
impl UnsafeUnpin for Generated
impl UnwindSafe for Generated
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