pub struct Decoded {
pub kind: ProgramType,
pub major: u32,
pub minor: u32,
pub declarations: Vec<Declaration>,
pub instructions: Vec<Instruction>,
}Expand description
A decoded token stream: its target, declarations and instructions, each in program order.
Fields§
§kind: ProgramTypeThe program’s stage.
major: u32The shader model’s major version.
minor: u32The shader model’s minor version.
declarations: Vec<Declaration>The declarations, in program order.
instructions: Vec<Instruction>The instructions, in program order.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Decoded
impl Freeze for Decoded
impl RefUnwindSafe for Decoded
impl Send for Decoded
impl Sync for Decoded
impl Unpin for Decoded
impl UnsafeUnpin for Decoded
impl UnwindSafe for Decoded
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