pub struct IRFunction {
pub name: String,
pub params: Vec<IRValue>,
pub results: Vec<IRValue>,
pub blocks: Vec<IRBlock>,
}Expand description
IR Function
Fields§
§name: StringFunction name
params: Vec<IRValue>Parameters
results: Vec<IRValue>Results
blocks: Vec<IRBlock>Basic blocks
Trait Implementations§
Source§impl Clone for IRFunction
impl Clone for IRFunction
Source§fn clone(&self) -> IRFunction
fn clone(&self) -> IRFunction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IRFunction
impl Debug for IRFunction
Source§impl<'de> Deserialize<'de> for IRFunction
impl<'de> Deserialize<'de> for IRFunction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IRFunction
impl RefUnwindSafe for IRFunction
impl Send for IRFunction
impl Sync for IRFunction
impl Unpin for IRFunction
impl UnsafeUnpin for IRFunction
impl UnwindSafe for IRFunction
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