Enum wasm_bindgen_backend::ast::TypeLocation
source · pub enum TypeLocation {
ImportArgument,
ImportRet,
ExportArgument,
ExportRet,
}
Expand description
Unused, the location of a type for a function argument (import/export, argument/ret)
Variants§
ImportArgument
An imported argument (JS side type)
ImportRet
An imported return
ExportArgument
An exported argument (Rust side type)
ExportRet
An exported return
Trait Implementations§
source§impl Clone for TypeLocation
impl Clone for TypeLocation
source§fn clone(&self) -> TypeLocation
fn clone(&self) -> TypeLocation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TypeLocation
impl Debug for TypeLocation
source§impl PartialEq for TypeLocation
impl PartialEq for TypeLocation
impl Copy for TypeLocation
impl Eq for TypeLocation
impl StructuralPartialEq for TypeLocation
Auto Trait Implementations§
impl Freeze for TypeLocation
impl RefUnwindSafe for TypeLocation
impl Send for TypeLocation
impl Sync for TypeLocation
impl Unpin for TypeLocation
impl UnwindSafe for TypeLocation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)