pub enum GlobalKind {
Get,
Set,
Take,
}Expand description
The static-global instructions: each carries exactly one DefinitionId
operand naming the global variable it reads or writes. PushVarPointer
is deliberately not one — its operand becomes a Value::VariablePointer
the story can hold and pass around, so it must stay an id.
Variants§
Trait Implementations§
Source§impl Clone for GlobalKind
impl Clone for GlobalKind
Source§fn clone(&self) -> GlobalKind
fn clone(&self) -> GlobalKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GlobalKind
Source§impl Debug for GlobalKind
impl Debug for GlobalKind
impl Eq for GlobalKind
Source§impl PartialEq for GlobalKind
impl PartialEq for GlobalKind
impl StructuralPartialEq for GlobalKind
Auto Trait Implementations§
impl Freeze for GlobalKind
impl RefUnwindSafe for GlobalKind
impl Send for GlobalKind
impl Sync for GlobalKind
impl Unpin for GlobalKind
impl UnsafeUnpin for GlobalKind
impl UnwindSafe for GlobalKind
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