Struct cranelift_reader::Invocation
source · pub struct Invocation {
pub func: String,
pub args: Vec<DataValue>,
}
Expand description
Represent a function call; RunCommands invoke a CLIF function using an Invocation.
Fields§
§func: String
The name of the function to call. Note: this field is for mostly included for informational purposes and may not always be necessary for identifying which function to call.
args: Vec<DataValue>
The arguments to be passed to the function when invoked.
Trait Implementations§
source§impl Debug for Invocation
impl Debug for Invocation
source§impl Display for Invocation
impl Display for Invocation
source§impl PartialEq for Invocation
impl PartialEq for Invocation
source§fn eq(&self, other: &Invocation) -> bool
fn eq(&self, other: &Invocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Invocation
Auto Trait Implementations§
impl RefUnwindSafe for Invocation
impl Send for Invocation
impl Sync for Invocation
impl Unpin for Invocation
impl UnwindSafe for Invocation
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