pub struct YulObject {
pub name: String,
pub code: Vec<YulStmt>,
pub functions: Vec<YulFunction>,
pub sub_objects: Vec<YulObject>,
}Expand description
EVM Yul object
Fields§
§name: String§code: Vec<YulStmt>§functions: Vec<YulFunction>§sub_objects: Vec<YulObject>Implementations§
Source§impl YulObject
impl YulObject
pub fn new(name: &str) -> Self
pub fn add_function(&mut self, f: YulFunction)
pub fn add_sub_object(&mut self, o: YulObject)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for YulObject
impl RefUnwindSafe for YulObject
impl Send for YulObject
impl Sync for YulObject
impl Unpin for YulObject
impl UnsafeUnpin for YulObject
impl UnwindSafe for YulObject
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