[][src]Struct witx::polyfill::Polyfill

pub struct Polyfill {
    pub modules: Vec<ModulePolyfill>,
}

Fields

modules: Vec<ModulePolyfill>

Methods

impl Polyfill[src]

pub fn new(
    new: &Document,
    old: &Document,
    module_mapping: &HashMap<String, String>
) -> Result<Self, PolyfillError>
[src]

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

Trait Implementations

impl Clone for Polyfill[src]

impl Debug for Polyfill[src]

impl Documentation for Polyfill[src]

impl Eq for Polyfill[src]

impl Hash for Polyfill[src]

impl PartialEq<Polyfill> for Polyfill[src]

impl StructuralEq for Polyfill[src]

impl StructuralPartialEq for Polyfill[src]

Auto Trait Implementations

impl !RefUnwindSafe for Polyfill

impl !Send for Polyfill

impl !Sync for Polyfill

impl Unpin for Polyfill

impl !UnwindSafe for Polyfill

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.