Struct move_binary_format::file_format::Signature
source · pub struct Signature(pub Vec<SignatureToken>);
Expand description
A Signature
is the list of locals used by a function.
Locals include the arguments to the function from position 0
to argument count - 1
.
The remaining elements are the type of each local.
Tuple Fields§
§0: Vec<SignatureToken>
Implementations§
Trait Implementations§
source§impl Arbitrary for Signature
impl Arbitrary for Signature
§type Parameters = usize
type Parameters = usize
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.§type Strategy = Map<BoxedStrategy<Vec<SignatureToken, Global>>, fn(_: Vec<SignatureToken, Global>) -> Signature>
type Strategy = Map<BoxedStrategy<Vec<SignatureToken, Global>>, fn(_: Vec<SignatureToken, Global>) -> Signature>
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 Ord for Signature
impl Ord for Signature
source§impl PartialEq<Signature> for Signature
impl PartialEq<Signature> for Signature
source§impl PartialOrd<Signature> for Signature
impl PartialOrd<Signature> for Signature
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more