[][src]Enum fluence_sdk_wit::ParsedType

pub enum ParsedType {
    I8,
    I16,
    I32,
    I64,
    U8,
    U16,
    U32,
    U64,
    F32,
    F64,
    Boolean,
    Utf8String,
    Vector(Box<ParsedType>),
    Record(String),
}

An internal representation of supported Rust types.

Variants

I8
I16
I32
I64
U8
U16
U32
U64
F32
F64
Boolean
Utf8String
Vector(Box<ParsedType>)
Record(String)

Implementations

impl ParsedType[src]

pub fn from_type(input_type: &Type) -> Result<Self>[src]

pub fn from_fn_arg(fn_arg: &FnArg) -> Result<Self>[src]

pub fn from_return_type(ret_type: &ReturnType) -> Result<Option<Self>>[src]

pub fn is_complex_type(&self) -> bool[src]

Trait Implementations

impl Clone for ParsedType[src]

impl Debug for ParsedType[src]

impl<'de> Deserialize<'de> for ParsedType[src]

impl Display for ParsedType[src]

impl PartialEq<ParsedType> for ParsedType[src]

impl Serialize for ParsedType[src]

impl StructuralPartialEq for ParsedType[src]

impl ToTokens for ParsedType[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Spanned for T where
    T: Spanned + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,