pub enum SignatureTokenKind {
Value,
Reference,
MutableReference,
}
Expand description
Represents the kind of a signature token.
Variants§
Value
Any sort of owned value that isn’t an array (Integer, Bool, Struct etc).
Reference
A reference.
MutableReference
A mutable reference.
Trait Implementations§
source§impl Clone for SignatureTokenKind
impl Clone for SignatureTokenKind
source§fn clone(&self) -> SignatureTokenKind
fn clone(&self) -> SignatureTokenKind
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 SignatureTokenKind
impl Debug for SignatureTokenKind
source§impl Display for SignatureTokenKind
impl Display for SignatureTokenKind
source§impl Ord for SignatureTokenKind
impl Ord for SignatureTokenKind
source§fn cmp(&self, other: &SignatureTokenKind) -> Ordering
fn cmp(&self, other: &SignatureTokenKind) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<SignatureTokenKind> for SignatureTokenKind
impl PartialEq<SignatureTokenKind> for SignatureTokenKind
source§fn eq(&self, other: &SignatureTokenKind) -> bool
fn eq(&self, other: &SignatureTokenKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SignatureTokenKind> for SignatureTokenKind
impl PartialOrd<SignatureTokenKind> for SignatureTokenKind
source§fn partial_cmp(&self, other: &SignatureTokenKind) -> Option<Ordering>
fn partial_cmp(&self, other: &SignatureTokenKind) -> Option<Ordering>
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