pub struct Module { /* private fields */ }
Implementations§
Source§impl Module
impl Module
pub fn new( declarations: Vec<Declaration>, definitions: Vec<Definition>, ) -> Result<Self, AnalysisError>
pub fn declarations(&self) -> &[Declaration]
pub fn definitions(&self) -> &[Definition]
pub fn global_variable_initialization_order(&self) -> &[String]
pub fn rename_global_variables(&self, names: &HashMap<String, String>) -> Self
Trait Implementations§
impl StructuralPartialEq for Module
Auto Trait Implementations§
impl Freeze for Module
impl RefUnwindSafe for Module
impl !Send for Module
impl !Sync for Module
impl Unpin for Module
impl UnwindSafe for Module
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