[][src]Struct cuebee::Module

pub struct Module<'m> { /* fields omitted */ }

Methods

impl<'m> Module<'m>[src]

pub fn render<W>(&self, w: W) -> Result<()> where
    W: Write
[src]

pub fn render_string(&self) -> String[src]

pub fn opaque_type(&self, name: &str, align: usize, size: usize) -> &Typedef[src]

pub fn new_type(&self, name: &str) -> TypeBuilder<'m>[src]

pub fn add_type(&self, tb: TypeBuilder<'m>) -> &Typedef[src]

pub fn new_data(&self, name: &str) -> (&'m mut Datadef, Symbol<'m>)[src]

pub fn add_data(&self, data: &'m Datadef<'m>) -> &'m Datadef[src]

Auto Trait Implementations

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.