[−][src]Enum fluence_sdk_wit::ParsedType
An internal representation of supported Rust types.
Variants
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]
pub fn clone(&self) -> ParsedType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ParsedType
[src]
impl<'de> Deserialize<'de> for ParsedType
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Display for ParsedType
[src]
impl PartialEq<ParsedType> for ParsedType
[src]
pub fn eq(&self, other: &ParsedType) -> bool
[src]
pub fn ne(&self, other: &ParsedType) -> bool
[src]
impl Serialize for ParsedType
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for ParsedType
[src]
impl ToTokens for ParsedType
[src]
pub fn to_tokens(&self, tokens: &mut TokenStream)
[src]
pub fn to_token_stream(&self) -> TokenStream
[src]
pub fn into_token_stream(self) -> TokenStream
[src]
Auto Trait Implementations
impl RefUnwindSafe for ParsedType
[src]
impl Send for ParsedType
[src]
impl Sync for ParsedType
[src]
impl Unpin for ParsedType
[src]
impl UnwindSafe for ParsedType
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Spanned for T where
T: Spanned + ?Sized,
[src]
T: Spanned + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,