Struct makepad_shader_compiler::generate::FnDefGenerator
source · pub struct FnDefGenerator<'a> {
pub fn_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§
§fn_def: &'a FnDef
§shader_registry: &'a ShaderRegistry
§const_table_offset: Option<usize>
§string: &'a mut String
§backend_writer: &'a dyn BackendWriter
Implementations§
source§impl<'a> FnDefGenerator<'a>
impl<'a> FnDefGenerator<'a>
pub fn generate_fn_def(&mut self)
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for FnDefGenerator<'a>
impl<'a> !Send for FnDefGenerator<'a>
impl<'a> !Sync for FnDefGenerator<'a>
impl<'a> Unpin for FnDefGenerator<'a>
impl<'a> !UnwindSafe for FnDefGenerator<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more