pub struct FnDefWithClosureArgsGenerator<'a> {
    pub closure_site_info: ClosureSiteInfo<'a>,
    pub fn_def: &'a FnDef,
    pub call_def: &'a FnDef,
    pub shader_registry: &'a ShaderRegistry,
    pub const_table_offset: Option<usize>,
    pub string: &'a mut String,
    pub backend_writer: &'a dyn BackendWriter,
}

Fields

closure_site_info: ClosureSiteInfo<'a>fn_def: &'a FnDefcall_def: &'a FnDefshader_registry: &'a ShaderRegistryconst_table_offset: Option<usize>string: &'a mut Stringbackend_writer: &'a dyn BackendWriter

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.