pub struct FnDefAnalyser<'a> {
    pub fn_def: &'a FnDef,
    pub closure_return_ty: Option<&'a RefCell<Option<Ty>>>,
    pub scopes: &'a mut Scopes,
    pub live_registry: &'a LiveRegistry,
    pub shader_registry: &'a ShaderRegistry,
    pub options: ShaderAnalyseOptions,
    pub is_inside_loop: bool,
}

Fields

fn_def: &'a FnDefclosure_return_ty: Option<&'a RefCell<Option<Ty>>>scopes: &'a mut Scopeslive_registry: &'a LiveRegistryshader_registry: &'a ShaderRegistryoptions: ShaderAnalyseOptionsis_inside_loop: bool

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.