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 FnDef
call_def: &'a FnDef
shader_registry: &'a ShaderRegistry
const_table_offset: Option<usize>
string: &'a mut String
backend_writer: &'a dyn BackendWriter
Implementations
sourceimpl<'a> FnDefWithClosureArgsGenerator<'a>
impl<'a> FnDefWithClosureArgsGenerator<'a>
pub fn generate_fn_def_with_all_closures(
string: &mut String,
shader_registry: &ShaderRegistry,
fn_def: &FnDef,
call_def: &FnDef,
backend_writer: &dyn BackendWriter,
const_table_offset: Option<usize>
)
pub fn generate_fn_def_with_closure_args(&mut self)
Auto Trait Implementations
impl<'a> !RefUnwindSafe for FnDefWithClosureArgsGenerator<'a>
impl<'a> !Send for FnDefWithClosureArgsGenerator<'a>
impl<'a> !Sync for FnDefWithClosureArgsGenerator<'a>
impl<'a> Unpin for FnDefWithClosureArgsGenerator<'a>
impl<'a> !UnwindSafe for FnDefWithClosureArgsGenerator<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more