pub enum GlobalDeclKind<'a> {
Fn(Function<'a>),
Var(GlobalVariable<'a>),
Const(Const<'a>),
Override(Override<'a>),
Struct(Struct<'a>),
Type(TypeAlias<'a>),
ConstAssert(Handle<Expression<'a>>),
}
Variants§
Fn(Function<'a>)
Var(GlobalVariable<'a>)
Const(Const<'a>)
Override(Override<'a>)
Struct(Struct<'a>)
Type(TypeAlias<'a>)
ConstAssert(Handle<Expression<'a>>)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for GlobalDeclKind<'a>
impl<'a> RefUnwindSafe for GlobalDeclKind<'a>
impl<'a> Send for GlobalDeclKind<'a>
impl<'a> Sync for GlobalDeclKind<'a>
impl<'a> Unpin for GlobalDeclKind<'a>
impl<'a> UnwindSafe for GlobalDeclKind<'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