Struct move_binary_format::file_format::TypeSignature
source · pub struct TypeSignature(pub SignatureToken);
Expand description
A type definition. SignatureToken
allows the definition of the set of known types and their
composition.
Tuple Fields§
§0: SignatureToken
Trait Implementations§
source§impl Arbitrary for TypeSignature
impl Arbitrary for TypeSignature
§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.§type Strategy = Map<<SignatureToken as Arbitrary>::Strategy, fn(_: SignatureToken) -> TypeSignature>
type Strategy = Map<<SignatureToken as Arbitrary>::Strategy, fn(_: SignatureToken) -> TypeSignature>
The type of
Strategy
used to generate values of type Self
.source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
source§impl Clone for TypeSignature
impl Clone for TypeSignature
source§fn clone(&self) -> TypeSignature
fn clone(&self) -> TypeSignature
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TypeSignature
impl Debug for TypeSignature
source§impl Hash for TypeSignature
impl Hash for TypeSignature
source§impl PartialEq<TypeSignature> for TypeSignature
impl PartialEq<TypeSignature> for TypeSignature
source§fn eq(&self, other: &TypeSignature) -> bool
fn eq(&self, other: &TypeSignature) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.