Enum runestick::TypeCheck [−][src]
pub enum TypeCheck { Unit, Tuple, Object, Vec, Option(usize), Result(usize), GeneratorState(usize), Type(Hash), Variant(Hash), }
Expand description
An encoded type check.
Variants
Matches a unit type.
Matches an anonymous tuple.
Matches an anonymous object.
Matches a vector.
An option type, and the specified variant index.
Tuple Fields of Option
0: usize
A result type, and the specified variant index.
Tuple Fields of Result
0: usize
A generator state type, and the specified variant index.
Tuple Fields of GeneratorState
0: usize
Matches the type with the corresponding hash.
Tuple Fields of Type
0: Hash
Matches the variant with the corresponding hash.
Tuple Fields of Variant
0: Hash
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for TypeCheck
impl UnwindSafe for TypeCheck
Blanket Implementations
Mutably borrows from an owned value. Read more