enum GlslRestrictions<'a> {
    Const,
    Runtime(FunctionLocalData<'a>),
}Variants§
Const
- const-expressions will be evaluated and inserted in the arena
 
Runtime(FunctionLocalData<'a>)
- const-expressions will be evaluated and inserted in the arena
 - override-expressions will be inserted in the arena
 - runtime-expressions will be inserted in the arena
 
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for GlslRestrictions<'a>
impl<'a> RefUnwindSafe for GlslRestrictions<'a>
impl<'a> Send for GlslRestrictions<'a>
impl<'a> Sync for GlslRestrictions<'a>
impl<'a> Unpin for GlslRestrictions<'a>
impl<'a> !UnwindSafe for GlslRestrictions<'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