[][src]Struct rspirv::lift::LiftContext

pub struct LiftContext { /* fields omitted */ }

Methods

impl LiftContext[src]

pub fn lift_branch(
    &mut self,
    raw: &Instruction
) -> Result<Branch, InstructionError>
[src]

pub fn lift_terminator(
    &mut self,
    raw: &Instruction
) -> Result<Terminator, InstructionError>
[src]

pub fn lift_op(&mut self, raw: &Instruction) -> Result<Op, InstructionError>[src]

pub fn lift_type(&mut self, raw: &Instruction) -> Result<Type, InstructionError>[src]

pub fn lift_extension(
    &mut self,
    raw: &Instruction
) -> Result<Extension, InstructionError>
[src]

pub fn lift_ext_inst_import(
    &mut self,
    raw: &Instruction
) -> Result<ExtInstImport, InstructionError>
[src]

pub fn lift_memory_model(
    &mut self,
    raw: &Instruction
) -> Result<MemoryModel, InstructionError>
[src]

pub fn lift_entry_point(
    &mut self,
    raw: &Instruction
) -> Result<EntryPoint, InstructionError>
[src]

pub fn lift_execution_mode(
    &mut self,
    raw: &Instruction
) -> Result<ExecutionMode, InstructionError>
[src]

pub fn lift_capability(
    &mut self,
    raw: &Instruction
) -> Result<Capability, InstructionError>
[src]

pub fn lift_function(
    &mut self,
    raw: &Instruction
) -> Result<Function, InstructionError>
[src]

pub fn lift_function_parameter(
    &mut self,
    raw: &Instruction
) -> Result<FunctionParameter, InstructionError>
[src]

pub fn lift_function_end(
    &mut self,
    raw: &Instruction
) -> Result<FunctionEnd, InstructionError>
[src]

pub fn lift_label(
    &mut self,
    raw: &Instruction
) -> Result<Label, InstructionError>
[src]

pub fn lift_execution_mode_id(
    &mut self,
    raw: &Instruction
) -> Result<ExecutionModeId, InstructionError>
[src]

impl LiftContext[src]

pub fn convert(module: &Module) -> Result<Module, ConversionError>[src]

Convert a module from the data representation into structured representation.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.