Struct sway_ir::irtype::AbiInstance
source · [−]pub struct AbiInstance(pub Index);
Expand description
A Sway specific data structure for associating an ABI with an address.
Tuple Fields
0: Index
Implementations
sourceimpl AbiInstance
impl AbiInstance
Trait Implementations
sourceimpl Clone for AbiInstance
impl Clone for AbiInstance
sourcefn clone(&self) -> AbiInstance
fn clone(&self) -> AbiInstance
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 more
sourceimpl Debug for AbiInstance
impl Debug for AbiInstance
sourceimpl Hash for AbiInstance
impl Hash for AbiInstance
sourceimpl PartialEq<AbiInstance> for AbiInstance
impl PartialEq<AbiInstance> for AbiInstance
sourcefn eq(&self, other: &AbiInstance) -> bool
fn eq(&self, other: &AbiInstance) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AbiInstance) -> bool
fn ne(&self, other: &AbiInstance) -> bool
This method tests for !=
.
impl Copy for AbiInstance
impl Eq for AbiInstance
impl StructuralEq for AbiInstance
impl StructuralPartialEq for AbiInstance
Auto Trait Implementations
impl RefUnwindSafe for AbiInstance
impl Send for AbiInstance
impl Sync for AbiInstance
impl Unpin for AbiInstance
impl UnwindSafe for AbiInstance
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more