pub struct ArrayNewElem<'a> {
pub array: Index<'a>,
pub elem_idx: Index<'a>,
}
Expand description
Extra data associated with the array.new_elem
instruction
Fields§
§array: Index<'a>
The index of the array type we’re accessing.
elem_idx: Index<'a>
The elem segment to initialize from.
Trait Implementations§
Source§impl<'a> Clone for ArrayNewElem<'a>
impl<'a> Clone for ArrayNewElem<'a>
Source§fn clone(&self) -> ArrayNewElem<'a>
fn clone(&self) -> ArrayNewElem<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for ArrayNewElem<'a>
impl<'a> Debug for ArrayNewElem<'a>
Auto Trait Implementations§
impl<'a> Freeze for ArrayNewElem<'a>
impl<'a> RefUnwindSafe for ArrayNewElem<'a>
impl<'a> Send for ArrayNewElem<'a>
impl<'a> Sync for ArrayNewElem<'a>
impl<'a> Unpin for ArrayNewElem<'a>
impl<'a> UnwindSafe for ArrayNewElem<'a>
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