enum LoweredGlobalDecl {
Function(Handle<Function>),
Var(Handle<GlobalVariable>),
Const(Handle<Constant>),
Override(Handle<Override>),
Type(Handle<Type>),
EntryPoint,
}
Expand description
An ast::GlobalDecl
for which we have built the Naga IR equivalent.
Variants§
Function(Handle<Function>)
Var(Handle<GlobalVariable>)
Const(Handle<Constant>)
Override(Handle<Override>)
Type(Handle<Type>)
EntryPoint
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