Struct makepad_shader_compiler::analyse::FnDefAnalyser
source · pub struct FnDefAnalyser<'a> {
pub fn_def: &'a FnDef,
pub closure_return_ty: Option<&'a RefCell<Option<Ty>>>,
pub scopes: &'a mut Scopes,
pub live_registry: &'a LiveRegistry,
pub shader_registry: &'a ShaderRegistry,
pub options: ShaderAnalyseOptions,
pub is_inside_loop: bool,
}
Fields§
§fn_def: &'a FnDef
§closure_return_ty: Option<&'a RefCell<Option<Ty>>>
§scopes: &'a mut Scopes
§live_registry: &'a LiveRegistry
§shader_registry: &'a ShaderRegistry
§options: ShaderAnalyseOptions
§is_inside_loop: bool
Implementations§
source§impl<'a> FnDefAnalyser<'a>
impl<'a> FnDefAnalyser<'a>
pub fn analyse_fn_decl(&mut self) -> Result<(), LiveError>
pub fn analyse_fn_def(&mut self) -> Result<(), LiveError>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for FnDefAnalyser<'a>
impl<'a> !Send for FnDefAnalyser<'a>
impl<'a> !Sync for FnDefAnalyser<'a>
impl<'a> Unpin for FnDefAnalyser<'a>
impl<'a> !UnwindSafe for FnDefAnalyser<'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