pub struct Module<'a> { /* private fields */ }Expand description
A complete IL file
Implementations§
source§impl<'a> Module<'a>
impl<'a> Module<'a>
sourcepub fn add_function(&mut self, func: Function<'a>) -> &mut Function<'a>
pub fn add_function(&mut self, func: Function<'a>) -> &mut Function<'a>
Adds a function to the module, returning a reference to it for later modification
Trait Implementations§
source§impl<'a> Ord for Module<'a>
impl<'a> Ord for Module<'a>
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<'a> PartialOrd<Module<'a>> for Module<'a>
impl<'a> PartialOrd<Module<'a>> for Module<'a>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more