pub struct StringToMemory<'a> {
pub malloc: Index<'a>,
pub mem: Index<'a>,
}
Expand description
Payload of the string-to-memory
instruction
Fields§
§malloc: Index<'a>
Function which is used as a memory allocator to allocate memory to place
the string in mem
.
mem: Index<'a>
Index of the memory that the string is coming from.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for StringToMemory<'a>
impl<'a> RefUnwindSafe for StringToMemory<'a>
impl<'a> Send for StringToMemory<'a>
impl<'a> Sync for StringToMemory<'a>
impl<'a> Unpin for StringToMemory<'a>
impl<'a> UnwindSafe for StringToMemory<'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