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 for StoreLoadKind
impl PartialEq 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 ==
.impl Copy for StoreLoadKind
impl Eq for StoreLoadKind
impl StructuralPartialEq for StoreLoadKind
Auto Trait Implementations§
impl Freeze for StoreLoadKind
impl RefUnwindSafe for StoreLoadKind
impl Send for StoreLoadKind
impl Sync for StoreLoadKind
impl Unpin for StoreLoadKind
impl UnwindSafe for StoreLoadKind
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