Enum erg_compiler::StoreLoadKind
source · pub enum StoreLoadKind {
Local,
LocalConst,
Global,
GlobalConst,
Deref,
DerefConst,
Fast,
FastConst,
}
Expand description
- registered as global -> Global
- defined in the toplevel scope (and called in the inner scope) -> Global
- defined and called in the toplevel scope -> Local
- not defined in the toplevel and called in the inner scope -> Deref
- defined and called in the current scope (except the toplevel) -> Fast
Variants§
Trait Implementations§
source§impl Clone for StoreLoadKind
impl Clone for StoreLoadKind
source§fn clone(&self) -> StoreLoadKind
fn clone(&self) -> StoreLoadKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StoreLoadKind
impl Debug for StoreLoadKind
source§impl PartialEq<StoreLoadKind> for StoreLoadKind
impl PartialEq<StoreLoadKind> for StoreLoadKind
source§fn eq(&self, other: &StoreLoadKind) -> bool
fn eq(&self, other: &StoreLoadKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.