pub struct ConstAnalyser<'a> {
pub const_def: &'a ConstDef,
pub scopes: &'a mut Scopes,
pub live_registry: &'a LiveRegistry,
pub shader_registry: &'a ShaderRegistry,
pub options: ShaderAnalyseOptions,
}Fields§
§const_def: &'a ConstDef§scopes: &'a mut Scopes§live_registry: &'a LiveRegistry§shader_registry: &'a ShaderRegistry§options: ShaderAnalyseOptionsImplementations§
Source§impl<'a> ConstAnalyser<'a>
impl<'a> ConstAnalyser<'a>
pub fn analyse_const_decl(&mut self) -> Result<(), LiveError>
Auto Trait Implementations§
impl<'a> Freeze for ConstAnalyser<'a>
impl<'a> !RefUnwindSafe for ConstAnalyser<'a>
impl<'a> !Send for ConstAnalyser<'a>
impl<'a> !Sync for ConstAnalyser<'a>
impl<'a> Unpin for ConstAnalyser<'a>
impl<'a> !UnwindSafe for ConstAnalyser<'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