pub enum StaticKind {
Target(TargetKind),
Global(GlobalKind),
}Expand description
Every instruction whose sole DefinitionId operand is static — a jump
or call address, or a global variable — as Opcode::peek_static
classifies it.
Variants§
Target(TargetKind)
Global(GlobalKind)
Trait Implementations§
Source§impl Clone for StaticKind
impl Clone for StaticKind
Source§fn clone(&self) -> StaticKind
fn clone(&self) -> StaticKind
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 StaticKind
Source§impl Debug for StaticKind
impl Debug for StaticKind
impl Eq for StaticKind
Source§impl PartialEq for StaticKind
impl PartialEq for StaticKind
impl StructuralPartialEq for StaticKind
Auto Trait Implementations§
impl Freeze for StaticKind
impl RefUnwindSafe for StaticKind
impl Send for StaticKind
impl Sync for StaticKind
impl Unpin for StaticKind
impl UnsafeUnpin for StaticKind
impl UnwindSafe for StaticKind
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