Struct spirq::SpirvBinary [−][src]
pub struct SpirvBinary(_);
Expand description
SPIR-V program binary.
Implementations
👎 Deprecated since 0.4.6: please use reflect_vec instead
👎 Deprecated since 0.4.6:
please use reflect_vec instead
Reflect the SPIR-V binary and extract all the entry points. It’s
the same as refelct_vec while it returns a boxed slice. You may find
reflect_vec more handy but this is kept for API compatibility.
Reflect the SPIR-V binary and extract all the entry points.
pub fn reflect_vec_inspect<F: FnMut(&ReflectIntermediate<'_>, &Instr<'_>)>(
&self,
inspector: F
) -> Result<Vec<EntryPoint>>[src]
pub fn reflect_vec_inspect<F: FnMut(&ReflectIntermediate<'_>, &Instr<'_>)>(
&self,
inspector: F
) -> Result<Vec<EntryPoint>>[src]Similar to reflect_vec while you can inspect each instruction during
the parse.
pub fn reflect_fast_inspect<F: FnMut(&ReflectIntermediate<'_>, &Instr<'_>)>(
&self,
inspector: F
) -> Result<EntryPoint>[src]
pub fn reflect_fast_inspect<F: FnMut(&ReflectIntermediate<'_>, &Instr<'_>)>(
&self,
inspector: F
) -> Result<EntryPoint>[src]Similar to reflect_fast while you can inspect each instruction during
the parse.
Trait Implementations
Returns the “default value” for a type. Read more
Creates a value from an iterator. Read more
Auto Trait Implementations
impl RefUnwindSafe for SpirvBinaryimpl Send for SpirvBinaryimpl Sync for SpirvBinaryimpl Unpin for SpirvBinaryimpl UnwindSafe for SpirvBinaryBlanket Implementations
Mutably borrows from an owned value. Read more