Struct tasm_lib::list::higher_order::inner_function::RawCode
source · pub struct RawCode {
pub function: Vec<LabelledInstruction>,
pub input_types: Vec<DataType>,
pub output_types: Vec<DataType>,
/* private fields */
}
Expand description
A data structure for describing an inner function predicate to filter with, or to map with.
Fields§
§function: Vec<LabelledInstruction>
§input_types: Vec<DataType>
§output_types: Vec<DataType>
Implementations§
source§impl RawCode
impl RawCode
pub fn new( function: Vec<LabelledInstruction>, input_types: Vec<DataType>, output_types: Vec<DataType> ) -> Self
pub fn new_with_shadowing( function: Vec<LabelledInstruction>, input_types: Vec<DataType>, output_types: Vec<DataType>, rust_shadowing: Box<RefCell<dyn FnMut(&mut Vec<BFieldElement>)>> ) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for RawCode
impl !Send for RawCode
impl !Sync for RawCode
impl Unpin for RawCode
impl !UnwindSafe for RawCode
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