Struct makepad_shader_compiler::generate::ExprGenerator
source · [−]pub struct ExprGenerator<'a> {
pub fn_def: Option<&'a FnDef>,
pub closure_site_info: Option<ClosureSiteInfo<'a>>,
pub shader_registry: &'a ShaderRegistry,
pub backend_writer: &'a dyn BackendWriter,
pub const_table_offset: Option<usize>,
pub string: &'a mut String,
}
Fields
fn_def: Option<&'a FnDef>
closure_site_info: Option<ClosureSiteInfo<'a>>
shader_registry: &'a ShaderRegistry
backend_writer: &'a dyn BackendWriter
const_table_offset: Option<usize>
string: &'a mut String
Implementations
sourceimpl<'a> ExprGenerator<'a>
impl<'a> ExprGenerator<'a>
pub fn generate_expr(&mut self, in_expr: &Expr)
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ExprGenerator<'a>
impl<'a> !Send for ExprGenerator<'a>
impl<'a> !Sync for ExprGenerator<'a>
impl<'a> Unpin for ExprGenerator<'a>
impl<'a> !UnwindSafe for ExprGenerator<'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