Enum fluence_app_service::IType
[−]pub enum IType {
}
Expand description
Represents the types supported by WIT.
Variants
Boolean
Boolean.
S8
A 8-bits signed integer.
S16
A 16-bits signed integer.
S32
A 32-bits signed integer.
S64
A 64-bits signed integer.
U8
A 8-bits unsigned integer.
U16
A 16-bits unsigned integer.
U32
A 32-bits unsigned integer.
U64
A 64-bits unsigned integer.
F32
A 32-bits float.
F64
A 64-bits float.
String
A string.
ByteArray
Specialization of arrays for byte vector.
Array(Box<IType, Global>)
An array of values of the same type.
I32
A 32-bits integer (as defined in WebAssembly core).
I64
A 64-bits integer (as defined in WebAssembly core).
Record(u64)
A record contains record index from interfaces AST.
Implementations
impl IType
impl IType
pub const VARIANT_COUNT: usize
Trait Implementations
impl<'de> Deserialize<'de> for IType
impl<'de> Deserialize<'de> for IType
fn deserialize<__D>(
__deserializer: __D
) -> Result<IType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<IType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<'_> Parse<'_> for IType
impl<'_> Parse<'_> for IType
impl Serialize for IType
impl Serialize for IType
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for IType
impl StructuralEq for IType
impl StructuralPartialEq for IType
Auto Trait Implementations
impl RefUnwindSafe for IType
impl Send for IType
impl Sync for IType
impl Unpin for IType
impl UnwindSafe for IType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> Serialize for T where
T: Serialize + ?Sized,
impl<T> Serialize for T where
T: Serialize + ?Sized,
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<Ok, Error>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more