[][src]Struct ni::nil::LayoutBuilder

pub struct LayoutBuilder<'n> { /* fields omitted */ }

Implementations

impl<'n> LayoutBuilder<'n>[src]

pub fn new() -> Self[src]

pub fn new_op_type(self, name: &'n str, op: OpType) -> Self[src]

pub fn new_layout(self, name: &'n str, lay_idx: usize) -> Self[src]

pub fn new_fn(self, name: &'n str) -> Self[src]

pub fn add_indirect(self) -> Self[src]

pub fn add_array(self, size: UWord) -> Self[src]

pub fn build<'t>(self) -> Result<Layout<'n, 't>, LayoutError>[src]

Auto Trait Implementations

impl<'n> RefUnwindSafe for LayoutBuilder<'n>

impl<'n> Send for LayoutBuilder<'n>

impl<'n> Sync for LayoutBuilder<'n>

impl<'n> Unpin for LayoutBuilder<'n>

impl<'n> UnwindSafe for LayoutBuilder<'n>

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.