pub struct Module<'m> { /* private fields */ }
Implementations§
Source§impl<'m> Module<'m>
impl<'m> Module<'m>
pub fn render<W>(&self, w: W) -> Result<()>where
W: Write,
pub fn render_string(&self) -> String
pub fn opaque_type(&self, name: &str, align: usize, size: usize) -> &Typedef<'_>
pub fn new_type(&self, name: &str) -> TypeBuilder<'m>
pub fn add_type(&self, tb: TypeBuilder<'m>) -> &Typedef<'_>
pub fn new_data(&self, name: &str) -> (&'m mut Datadef<'_>, Symbol<'m>)
pub fn add_data(&self, data: &'m Datadef<'m>) -> &'m Datadef<'_>
Auto Trait Implementations§
impl<'m> !Freeze for Module<'m>
impl<'m> !RefUnwindSafe for Module<'m>
impl<'m> !Send for Module<'m>
impl<'m> !Sync for Module<'m>
impl<'m> Unpin for Module<'m>
impl<'m> !UnwindSafe for Module<'m>
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