[][src]Enum witx::TypePassedBy

pub enum TypePassedBy {
    Value(AtomType),
    Pointer,
    PointerLengthPair,
}

Enumerates the strategies which may be used to pass a datatype as an argument

Variants

Value(AtomType)

Pass by value specifies the AtomType used to represent that value

Pointer

Pass by a pointer into linear memory

PointerLengthPair

Pass by a pointer and length pair, into linear memory

Trait Implementations

impl Clone for TypePassedBy[src]

impl Copy for TypePassedBy[src]

impl Debug for TypePassedBy[src]

impl Eq for TypePassedBy[src]

impl PartialEq<TypePassedBy> for TypePassedBy[src]

impl StructuralEq for TypePassedBy[src]

impl StructuralPartialEq for TypePassedBy[src]

Auto Trait Implementations

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.