Enum marine::IType [−]
pub enum IType {
}Expand description
Represents the types supported by WIT.
Variants
Boolean.
A 8-bits signed integer.
A 16-bits signed integer.
A 32-bits signed integer.
A 64-bits signed integer.
A 8-bits unsigned integer.
A 16-bits unsigned integer.
A 32-bits unsigned integer.
A 64-bits unsigned integer.
A 32-bits float.
A 64-bits float.
A string.
Specialization of arrays for byte vector.
An array of values of the same type.
A 32-bits integer (as defined in WebAssembly core).
A 64-bits integer (as defined in WebAssembly core).
Record(u64)A record contains record index from interfaces AST.
Trait Implementations
impl<'de> Deserialize<'de> for IType
impl<'de> Deserialize<'de> for ITypepub fn deserialize<__D>(
__deserializer: __D
) -> Result<IType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub 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 ITypepub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub 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
Encode an IType into bytes.
Encode an IType into a string.
impl StructuralEq for ITypeimpl StructuralPartialEq for ITypeAuto Trait Implementations
impl RefUnwindSafe for ITypeimpl UnwindSafe for ITypeBlanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
type Output = T
type Output = TShould always be Self