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
Local
LocalConst
Global
GlobalConst
Deref
DerefConst
Fast
FastConst
Trait Implementations
sourceimpl Clone for StoreLoadKind
impl Clone for StoreLoadKind
sourcefn clone(&self) -> StoreLoadKind
fn clone(&self) -> StoreLoadKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for StoreLoadKind
impl Debug for StoreLoadKind
sourceimpl PartialEq<StoreLoadKind> for StoreLoadKind
impl PartialEq<StoreLoadKind> for StoreLoadKind
sourcefn eq(&self, other: &StoreLoadKind) -> bool
fn eq(&self, other: &StoreLoadKind) -> bool
impl Copy for StoreLoadKind
impl Eq for StoreLoadKind
impl StructuralEq for StoreLoadKind
impl StructuralPartialEq for StoreLoadKind
Auto Trait Implementations
impl RefUnwindSafe for StoreLoadKind
impl Send for StoreLoadKind
impl Sync for StoreLoadKind
impl Unpin for StoreLoadKind
impl UnwindSafe for StoreLoadKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more