enum LoweredGlobalDecl {
    Function {
        handle: Handle<Function>,
        must_use: bool,
    },
    Var(Handle<GlobalVariable>),
    Const(Handle<Constant>),
    Override(Handle<Override>),
    Type(Handle<Type>),
    EntryPoint(usize),
}Expand description
An ast::GlobalDecl for which we have built the Naga IR equivalent.
Variants§
Function
Var(Handle<GlobalVariable>)
Const(Handle<Constant>)
Override(Handle<Override>)
Type(Handle<Type>)
EntryPoint(usize)
Auto Trait Implementations§
impl Freeze for LoweredGlobalDecl
impl RefUnwindSafe for LoweredGlobalDecl
impl Send for LoweredGlobalDecl
impl Sync for LoweredGlobalDecl
impl Unpin for LoweredGlobalDecl
impl UnwindSafe for LoweredGlobalDecl
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