pub struct ClosureDefGenerator<'a> {
pub closure_def: &'a ClosureDef,
pub closure_site_arg: ClosureSiteArg,
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_def: &'a ClosureDef
closure_site_arg: ClosureSiteArg
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> ClosureDefGenerator<'a>
impl<'a> ClosureDefGenerator<'a>
pub fn generate_fn_def(&mut self)
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ClosureDefGenerator<'a>
impl<'a> !Send for ClosureDefGenerator<'a>
impl<'a> !Sync for ClosureDefGenerator<'a>
impl<'a> Unpin for ClosureDefGenerator<'a>
impl<'a> !UnwindSafe for ClosureDefGenerator<'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