[][src]Struct abigen::Abigen

pub struct Abigen<'env> { /* fields omitted */ }

The ABI generator.

Implementations

impl<'env> Abigen<'env>[src]

pub fn new(env: &'env GlobalEnv, options: &'env AbigenOptions) -> Self[src]

Creates a new ABI generator.

pub fn into_result(self) -> Vec<(String, Vec<u8>)>[src]

Returns the result of ABI generation, a vector of pairs of filenames and JSON content.

pub fn gen(&mut self)[src]

Generates ABIs for all script modules in the environment (excluding the dependency set).

Auto Trait Implementations

impl<'env> !RefUnwindSafe for Abigen<'env>

impl<'env> !Send for Abigen<'env>

impl<'env> !Sync for Abigen<'env>

impl<'env> Unpin for Abigen<'env>

impl<'env> !UnwindSafe for Abigen<'env>

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> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,