pub struct Node {
pub id: usize,
pub name: String,
pub node_type: NodeType,
pub contract_name: Option<String>,
pub visibility: Visibility,
pub span: (usize, usize),
pub has_explicit_return: bool,
pub declared_return_type: Option<String>,
pub parameters: Vec<ParameterInfo>,
pub revert_message: Option<String>,
pub condition_expression: Option<String>,
}
Fields§
§id: usize
§name: String
§node_type: NodeType
§contract_name: Option<String>
§visibility: Visibility
§span: (usize, usize)
§has_explicit_return: bool
§declared_return_type: Option<String>
§parameters: Vec<ParameterInfo>
§revert_message: Option<String>
§condition_expression: Option<String>
Trait Implementations§
Source§impl ToDotLabel for Node
impl ToDotLabel for Node
fn to_dot_label(&self) -> String
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
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