Struct naga::front::Typifier [−][src]
pub struct Typifier { /* fields omitted */ }
Expand description
Helper processor that derives the types of all expressions.
Implementations
impl Typifier
[src]
impl Typifier
[src]pub fn new() -> Self
[src]
pub fn get<'a>(
&'a self,
expr_handle: Handle<Expression>,
types: &'a Arena<Type>
) -> &'a TypeInner
[src]
&'a self,
expr_handle: Handle<Expression>,
types: &'a Arena<Type>
) -> &'a TypeInner
pub fn grow(
&mut self,
expr_handle: Handle<Expression>,
expressions: &Arena<Expression>,
types: &mut Arena<Type>,
ctx: &ResolveContext<'_>
) -> Result<(), ResolveError>
[src]
&mut self,
expr_handle: Handle<Expression>,
expressions: &Arena<Expression>,
types: &mut Arena<Type>,
ctx: &ResolveContext<'_>
) -> Result<(), ResolveError>