wasix 0.13.1

WASIX API bindings for Rust
Documentation
use super::x as x;

impl From<wasi::Errno>
for x::Errno {
    fn from(value: wasi::Errno) -> Self {
        unsafe { core::mem::transmute(value) }
    }
}

impl From<wasi::Filetype>
for x::Filetype {
    fn from(value: wasi::Filetype) -> Self {
        unsafe { core::mem::transmute(value) }
    }
}

impl From<x::Errno>
for wasi::Errno {
    fn from(value: x::Errno) -> Self {
        unsafe { core::mem::transmute(value) }
    }
}

impl From<x::Filetype>
for wasi::Filetype {
    fn from(value: x::Filetype) -> Self {
        unsafe { core::mem::transmute(value) }
    }
}