Enum runestick::UnitFn [−][src]
pub enum UnitFn { Offset { offset: usize, call: Call, args: usize, }, UnitStruct { hash: Hash, }, TupleStruct { hash: Hash, args: usize, }, UnitVariant { hash: Hash, }, TupleVariant { hash: Hash, args: usize, }, }
Expand description
The kind and necessary information on registered functions.
Variants
Offset to call a “real” function.
Fields of Offset
An empty constructor.
Fields of UnitStruct
hash: Hash
The type hash of the empty.
A tuple constructor.
Fields of TupleStruct
A empty variant constructor.
Fields of UnitVariant
hash: Hash
The type hash of the empty variant.
A tuple variant constructor.
Fields of TupleVariant
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 UnitFn
impl UnwindSafe for UnitFn
Blanket Implementations
Mutably borrows from an owned value. Read more