Struct sway_ir::block::BlockArgument
source · [−]Fields
block: Block
The block of which this is an argument.
idx: usize
idx’th argument of the block.
ty: Type
Implementations
sourceimpl BlockArgument
impl BlockArgument
Trait Implementations
sourceimpl Clone for BlockArgument
impl Clone for BlockArgument
sourcefn clone(&self) -> BlockArgument
fn clone(&self) -> BlockArgument
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for BlockArgument
impl Debug for BlockArgument
sourceimpl DebugWithContext for BlockArgument
impl DebugWithContext for BlockArgument
fn fmt_with_context<'a, 'c>(
&'a self,
formatter: &mut Formatter<'_>,
context: &'c Context
) -> Result
fn with_context<'a, 'c>(
&'a self,
context: &'c Context
) -> WithContext<'a, 'c, Self>
Auto Trait Implementations
impl RefUnwindSafe for BlockArgument
impl Send for BlockArgument
impl Sync for BlockArgument
impl Unpin for BlockArgument
impl UnwindSafe for BlockArgument
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