pub enum AddressTarget {
Function(FunctionId),
Block(BlockId),
}Expand description
A live module entity selected by a machine address.
Variants§
Function(FunctionId)
Block(BlockId)
Trait Implementations§
Source§impl Clone for AddressTarget
impl Clone for AddressTarget
Source§fn clone(&self) -> AddressTarget
fn clone(&self) -> AddressTarget
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 AddressTarget
Source§impl Debug for AddressTarget
impl Debug for AddressTarget
impl Eq for AddressTarget
Source§impl From<AddressTarget> for ValueId
impl From<AddressTarget> for ValueId
Source§fn from(target: AddressTarget) -> Self
fn from(target: AddressTarget) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AddressTarget
impl PartialEq for AddressTarget
impl StructuralPartialEq for AddressTarget
Auto Trait Implementations§
impl Freeze for AddressTarget
impl RefUnwindSafe for AddressTarget
impl Send for AddressTarget
impl Sync for AddressTarget
impl Unpin for AddressTarget
impl UnsafeUnpin for AddressTarget
impl UnwindSafe for AddressTarget
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