pub struct DecompiledInstruction { /* private fields */ }
Implementations§
Source§impl DecompiledInstruction
impl DecompiledInstruction
pub fn new(instruction: &'static str) -> Self
pub fn add_value_argument(self, value: ManifestValue) -> Self
pub fn add_separated_tuple_value_arguments( self, tuple_args: &ManifestValue, ) -> Result<Self, DecompileError>
pub fn add_argument(self, value: impl ManifestEncode) -> Self
Sourcepub fn add_raw_argument(self, value: String) -> Self
pub fn add_raw_argument(self, value: String) -> Self
Only for use in pseudo-instructions. When we update the manifest value model, we should be able to discard these.
Auto Trait Implementations§
impl Freeze for DecompiledInstruction
impl RefUnwindSafe for DecompiledInstruction
impl Send for DecompiledInstruction
impl Sync for DecompiledInstruction
impl Unpin for DecompiledInstruction
impl UnwindSafe for DecompiledInstruction
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