[][src]Struct witx::polyfill::ModulePolyfill

pub struct ModulePolyfill {
    pub new: Rc<Module>,
    pub old: Rc<Module>,
    pub funcs: Vec<FuncPolyfill>,
}

Fields

new: Rc<Module>old: Rc<Module>funcs: Vec<FuncPolyfill>

Methods

impl ModulePolyfill[src]

pub fn new(new: Rc<Module>, old: Rc<Module>) -> Result<Self, PolyfillError>[src]

pub fn type_polyfills(&self) -> HashSet<TypePolyfill>[src]

Trait Implementations

impl Clone for ModulePolyfill[src]

impl Debug for ModulePolyfill[src]

impl Documentation for ModulePolyfill[src]

impl Eq for ModulePolyfill[src]

impl Hash for ModulePolyfill[src]

impl PartialEq<ModulePolyfill> for ModulePolyfill[src]

impl StructuralEq for ModulePolyfill[src]

impl StructuralPartialEq for ModulePolyfill[src]

Auto Trait Implementations

impl !RefUnwindSafe for ModulePolyfill

impl !Send for ModulePolyfill

impl !Sync for ModulePolyfill

impl Unpin for ModulePolyfill

impl !UnwindSafe for ModulePolyfill

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.